[jQuery] Beginners problem with selectors

2009-11-21 Thread jkrassman
Hi, sorry if I am posting in the wrong group? I am having a simple nested table, looks like this table id=mytable tbody tr tdtest/td tdtabletrtdNew test/td/tr/table/td /tr /tbody /table So my problem is that I cant get the last TR within the first table? var Obj = $(table#list tbodytr:last);

Re: [jQuery] Beginners problem with selectors

2009-11-21 Thread Michael Geary
So you are saying you want the entire last row of the outer table, not the last row of the inner table, is that right? IOW, what you want to get back is this row: trtdtest/tdtdtabletbodytrtdNew test/td/tr/tbody/table/td/tr If that's right, you're just missing a '' in your selector. Change it