ha ha, u got me... but, why is that so? aren't there 3 td's each in a "tr" representing index 2?
-GTG On 8/3/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > On Aug 3, 2007, at 6:15 PM, Ganeshji Marwaha wrote: > > I don't think ur selector is right for selecting the 2nd row, 3rd column. > It most probably is returning you more elements depending on the number of > rows u have. > Eg: if you have 3 rows in your table, then it should return, 1 tr and 3 > td's each representing the 3rd column in every row. > > > > I don't think that is quite right either, Ganeshji. > > Matt's selector ... > > > > $("tr:eq(1), td:eq(2)") > > > > ... will select exactly one row (the second one) and exactly one cell (the > third one). > > > To return "1 tr and 3 td's each representing the 3rd column in every row," > he'd have to do something like this ... > > > > $("tr:eq(1), td:nth-child(3)") > > > > > > > --Karl > _________________ > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > > >