jQuery Selector Help Next Class -
im stuck on , although there 1000 different ways select need, cant going.
in html below, <tr class="hide">
hidden, , when clicks link in span, want slidedown.
i've tried
$(this).parent().next().slidetoggle('slow');
and bunch of other similar things, no love. seems because hidden tr element down 2 levels cant select it.
mind you, there multiple of these on page, needs next 1 in line slides down, cant $('.hide') select it.
can help?
heres html
<td> <span class="details">details</span> </td> </tr> <tr class="hide"> <td></td>
try to
$(this).closest('tr').next().slidetoggle('slow');
Comments
Post a Comment