Hi all,

I've this table :

<table id="t1">
  <tr class="visible">
   <td><a href="#" class="showNextRow">View Next Row</td>
   <td>Cell with content</td>
  </tr>
  <tr class="hidden">
    <td colspan="2">Hello to the jQuery community</td>
  </tr>
  ...
  ...
  ...
</table>

I'm using this code to diplay the tr with hidden class :
$('a').filter('.visible').click(function(){
  $('.hidden').toggle();
}

what I want to do, is to toggle or show only the "tr"(only one only
the next) that is under the "tr" where is the link that I've clicked. 

I think the example and the code may help more than my description of
the problem :)

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Reply via email to