I am trying to have a javascript and a no javascript option for this page I am making. I am just putting the non javascript stuff in <noscript> tags and the javascript stuff I am trying to write out with document.write but...
When I use document.write() I get the error in my FF error console "undetermined string literal" and it points to the first quote mark. here is what I am trying:
Burr: thanks, i didn't know the 1 line rule.
Ninja: Good method but I want a link to show up for JS and a checkbox to show up for noscript
jay: it is, the concatination I am using is for PHP
shiznatix wrote:Burr: thanks, i didn't know the 1 line rule.
Ninja: Good method but I want a link to show up for JS and a checkbox to show up for noscript
jay: it is, the concatination I am using is for PHP
You could have a <span> with the checkbox in it and set to some class that you can then dig out via the DOM and switch out the contents of the <span> to your link...