Thursday, September 25, 2008

jQuery not selecting nested elements

For a jQuery newbie, I was unsure how to only select the TR's of the main table and not TR's within sub-tables. Tried this that (children(), siblings()) and a bunch of selectors and found out the easy way ('#mytable > tbody > tr') How easy! :)

Labels:

0 Comments:

Post a Comment

<< Home