Saludos
Codigo java
Código Java:
Ver original
<script type="text/javascript"> //<![CDATA[ function ShowHide(fila) { if ((document.getElementById(fila).style.display) == 'none') { document.getElementById(fila).style.display = ''; } else { document.getElementById(fila).style.display = 'none'; } } //]]> </script>
tabla
Código HTML:
<table border='1' style="border-collapse:separate;empty-cells:hide;"> <tr bgcolor='silver'> <th align='center' width='100'>N° Id</th> <th align='center' width='100'>DNI</th> <th align='center'>Nombre</th> <th align='center'>E-mail</th> <th align='center'> </th> </tr> <tr> <td align='center'>ID_2</td> <td align='center'>DNI_2</td> <td>Nombre_2</td> <td>Email_2</td> <td><button onclick='ShowHide("a1112")'>Ver Grupos</button></td> </tr> <tr id='a1112' > <td align='center'>1</td> <td align='center'>2</td> <td>3</td> <td>4</td> <td>5</td> </tr> </table>