Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/09/2014, 02:51
gumer
 
Fecha de Ingreso: octubre-2003
Ubicación: lima
Mensajes: 57
Antigüedad: 20 años, 7 meses
Puntos: 0
Respuesta: habilitar o deshabilitar campo text de una tabla desde un check

Lo poco resumido, te suguiero simplificar el problema a la minima expresion.
Para lo que e entendido quieres esto
<script type="text/javascript">
function jvr000(nmb000, nmb001){
if(document.getElementById(nmb000).checked){
document.getElementById(nmb001).readOnly=true;
} else {
document.getElementById(nmb001).readOnly=false;
}
}
</script>

<input name="prt000" type="checkbox" id="prt000" onclick="javascript:jvr000('prt000', 'prt001');">
<input name="prt001" id="prt001" readonly>
__________________
GUMER FERNANDEZ HUATUCO
--------------------------------------
Solo hay un dio$