Código Javascript
:
Ver originalfunction habilitap8y9(el){
var i = 1, input
while(input = el.form.pregunta8[i++]) input.disabled = !el.checked
}
Código HTML:
<input name="pregunta8[0]" type="checkbox" id="pregunta8" value="Primer checkbox" checked="checked" onclick="habilitap8y9(this)">