
19/06/2008, 09:42
|
 | Colaborador | | Fecha de Ingreso: febrero-2002 Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años Puntos: 772 | |
Respuesta: Habilitar y deshabilitar Radio Button Hola Chuty
Por así los radio:
Código:
<input type="radio" name="rad0" onclick = "deshabilita(false)"> Central
<input type="radio" name="rad0" onclick = "deshabilita(true)"> Sucursal<br />
y utiliza este código:
Código:
for (i=0; rad = document.nombreFormu.rad1[i]; i++)
rad.disabled = valor;
if (valor) document.nombreFormu.rad1[1].checked = true;
Saludos, |