Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/07/2005, 09:31
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola jotamachuca

Prueba poniendo algo así:

<input type="checkbox" onclick="habil('pepe',this.checked)" />
<fieldset id="pepe">

y usa este código:
Código PHP:
function habil(obj,val) {
  
fiel document.getElementById(obj).childNodes;
  for (
i=0i<fiel.lengthi++) 
  if (
fiel[i].tagName=='INPUT' || fiel[i].tagName=='SELECT'
    
fiel[i].disabled = !val

Espero que te sirva. Saludos,