Why? Because I am stilling learning how to do these queries, in other words, I don't know what I am doing. =)
Good point regarding valid xhtml and a unique id. -john On Oct 15, 8:16 pm, RobG <[EMAIL PROTECTED]> wrote: > On Oct 16, 7:53 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > I am creating a series of tables and would like to be able to grab all > > the rows inside of a particular table. > > > I tried" $( table#myTable > tr ) with no avail. I am still new to > > JQuery so please forgive me if I am missing something obvious. > > Don't forget that table elements have a live rows collection that has > all the rows in the table. As it's live, it updates as you add and > remove rows (if that's what you are doing). > > Can't see the point of table#myTable, there can only one element with > id=myTable in a valid (X)HTML document, so why use the table selector? > > -- > Rob