tomasz tomasz - 3 months ago 7
jQuery Question

Jquery Hide table rows

I am hiding a bunch of textboxes and it works fine, the problem is, the textboxes are in a table, so I also need to hide the corresponding labels.
the structure is something like this

<tr>
<td>
Label
</td>
<td>
InputFile
</td>
</tr>


in fact its just easier if I hide the rows that have a fileinput , can someone help please

Answer

this might work for you...

$('.trhideclass1').hide();

 

<tr class="trhideclass1">
  <td>Label</td>
  <td>InputFile</td>
</tr>
Comments