[thelist] Javascript off CSS on hide elements in page

Tony Crockford boldfish at gmail.com
Mon Mar 28 04:43:59 CST 2005


 Create them via
> the DOM rather than messing about inside the markup with document.write.
> http://www.onlinetools.org/articles/unobtrusivejavascript/
> http://www.onlinetools.org/tools/puredom/

I'd like to do that, but haven't got my head round the method yet.
isn't writing great gobs of content with javascript just as bad?

I've got a javascript link action so I can have a styled submit and a
noscript submit button.  I want a way to hide the javascript submit -
your suggestting I write the whole section with javascript and so if
there is no javascript it doesn't get written?

fair enough, but I've also got a huge select list that auto jumps
"onchange" writing that with javascript will be a pain for anyone that
wants to add to the list or edit it...

I was looking for a simple way...  seems to get simple I've got to work harder

;o)

(btw the javascript is at the clients insistence... - I'd be happy
with browser rendered buttons, but what do I know...)


More information about the thelist mailing list