Hello everyone,
I'm trying to select the children (ie. rows) of a table, where the
table has a certain id.
I tried $('table#my_id/tr') but that doesn't find anything.
Then, I tried $('table#my_id').children(). That returns this
mysterious <tbody> element. This element contains, for its own
children, the children of the original table. There is not tbody
element to be found in the html of my webpage.
Now, as a workaround, I can just call .children() twice. But, does
anyone understand what's going on? What is this tbody element?
Thanks,
Dan