View Single Post
Old 04-22-2009, 12:25 AM   #11 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Salathe View Post
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.


It's just to make a consistently cased node name across the various browsers.
Thanks Salathe,

Once I removed the label and the div's, it worked.
allworknoplay is offline  
Reply With Quote