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=0; i<fiel.length; i++)
if (fiel[i].tagName=='INPUT' || fiel[i].tagName=='SELECT')
fiel[i].disabled = !val;
}
Espero que te sirva. Saludos,