04-21-2009, 11:49 PM
|
#10 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
For your latest code, the pTR 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.
Quote:
|
how come you're using the toLowerCase()
|
It's just to make a consistently cased node name across the various browsers.
|
|
|
|