Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/03/2006, 16:19
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 9 meses
Puntos: 39
Seria mas o menos asi:
Código:
function ocultarFila(idTabla, fila, ocultar)
{
	tr = document.getElementById(idTabla).getElementsByTagName('tr')[fila];
	tr.style.display = ocultar ? '' : 'none';
}
Código HTML:
<table id="myTable">
<tr>
  <td colspan="4">
    <select size="1" onChange="ocultarFila('myTable',1, (this.value == 1) ? true : false);">
	  <option value="0"></option>
	  <option value="1">Ver</option>
	  <option value="2">Ocultar</option>
	</select>
  </td>
</tr>  
<tr style="display:none">
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
</table> 
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.