Change Table Row Colour with Checkbox onClick
View Single Post
04-21-2009, 11:49 PM
Join Date: Apr 2007
For your latest code, the
variable isn't pointing to the table row, but to the label (first row) or td (other rows). It goes up two levels in the DOM tree, your HTML code needs it to traverse back four/three levels to reach the table row.
how come you're using the toLowerCase()
It's just to make a consistently cased node name across the various browsers.
The Following User Says Thank You to Salathe For This Useful Post:
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe