[thelist] DHTML Question

Joshua Olson joshua at waetech.com
Thu Jul 7 14:49:01 CDT 2005

> -----Original Message-----
> From: Steve James
> Sent: Thursday, July 07, 2005 2:46 PM
> I want to make a global change to all divs using javascript, but they 
> don't have ID's (trying to make this XHTML compliant). Is 
> there a way to do something to the affect of:
> document.div.style.visibility = "hidden";


Have you considered getting an array of all div's on the page using
document.getElementByTagName and then iterating through the array using JS?

Joshua L. Olson
WAE Tech Inc.
Phone: 706.210.0168 
Fax: 413.812.4864

Monitor bandwidth usage on IIS6 in real-time:

More information about the thelist mailing list