Hi,
I have a table:
<table>
<tr>
<td>col 1</td>
<td>col 2</td>
</tr>
<tr>
<td>row 2</td>
<td>row 2</td>
</tr>
<tr>
<td>row 3</td>
<td>row 3</td>
</tr>
</table>
I want to collapse all rows if I click on col 1 and expand all rows if I click on col2.
Can I do that? how?
thanks in advance...
I have a table:
<table>
<tr>
<td>col 1</td>
<td>col 2</td>
</tr>
<tr>
<td>row 2</td>
<td>row 2</td>
</tr>
<tr>
<td>row 3</td>
<td>row 3</td>
</tr>
</table>
I want to collapse all rows if I click on col 1 and expand all rows if I click on col2.
Can I do that? how?
thanks in advance...