> But, to my mind, it makes sense to do
> $('#myElement').parent().parent() because the parent of the
> <input> is a <td> and the parent of the <td> is the <tr>.  Or is that wrong?

No, you're right - On first glance I thought it was <td
id="myElement"> ... </td> sorry about that. Not sure why .parent('tr')
didn't work, though.

--John

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to