<table> <tr onclick="fila.style.display=(fila.style.display=='none')?'block':'none'"> <td>Fila 1</td> </tr> <tr id="fila" style="display:none"> <td>Fila 2</td> </tr> </table>