[thelist] DOM: Getting elements with class="foo"?

Frank lists at frankmarion.com
Wed Nov 23 11:09:47 CST 2005


I've got a table with certain rows that have a class that point to 
display:none; I want to toggle visiblility with a link. Some rows have the 
class, others, none. How do I go about accessing the rows based on having 
the class name?

After than I imagine it's just a matter of looping over them and change the 
class.




Frank Marion     lists at frankmarion.com      Keep the signal high.






More information about the thelist mailing list