Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/02/2011, 09:31
Ibiza3
 
Fecha de Ingreso: noviembre-2006
Mensajes: 49
Antigüedad: 17 años, 5 meses
Puntos: 0
Respuesta: Desabilitar toda la fila de una tabla

Claro tenes toda la razon me exprese mal:

<form action="Main.php" method="POST" target ="mainFrame" name="form">
<table id="myTable" border="1" name="myTable">
<tr>
<td></td>
<td>Direccion Ip Origen</td><td>Direccion Ip Destino</td>
<td>Ancho de Banda</td><td>Delay</td><td>Activo</td>
<td></td>
</tr>
<tr id="celda" class="celda" >
<td><input type='text' size="10" name='name' value='<?php echo $_SESSION['username']?>' disabled="disabled" /></td>
<td><input size=15 name="IPini" value="Su Direccion IP" ></td>
<td><input size=15 name="IPfin" value="Direccion IP destino" ></td>
<td><input type="text" name="ancho" value="[bytes por segundo]" ></td>
<td><input type="text" name="delay" value="[milisegundos]"></td>
<td><input type="checkbox" name="status" ></td>
<td><input type="button" value="Delete" disabled="disabled"></td>
</tr>
</table>
<br /><br />
<input type='hidden' name='On' value='On' />
<input type="Submit" id="submit_btn" value="Actualizar Conexiones"/>
</form>


En negrita hay un checkbox, quiero que toda la fila quede disabled al seleccionarlo y vicebersa.