Hi,

You need to go up and then over. Inside your click handler, do this:

$(this).parent().next();

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Aug 25, 2008, at 5:17 AM, Sarbesh wrote:


is it possible to find the next tr from td using next() or any other
events.

<table>
<tr id=1><td></td>....<td>Show</td></tr>
<tr id=2><td></td>....<td></td></tr>
..........
.........
</table>

so when i click at "Show" i need its immediate tr, in this case tr
with id 2 to hide/show

Reply via email to