[Javascript] dynamically hide an element

Stephan Wehner stephanwehner at gmail.com
Tue Nov 28 20:38:00 CST 2006


Yes, I was thinking of

document.getElementById("ed1").style.display="none" // to hide

vs.

document.getElementById("ed1").style.display="block"  // to show
or
document.getElementById("ed1").style.display="inline"  // to show

Stephan


-- 
Stephan Wehner
> http://stephan.sugarmotor.org
> http://stephansmap.org
> http://www.trafficlife.com
> http://www.buckmaster.ca



More information about the Javascript mailing list