Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/05/2015, 09:48
Avatar de hoberwilly
hoberwilly
 
Fecha de Ingreso: julio-2008
Ubicación: Lima - Perú
Mensajes: 769
Antigüedad: 15 años, 10 meses
Puntos: 2
Respuesta: Como enviar variableJS a un formulario

Amigos:

Estoy usando este código JS

mi código js:
************
function marcar1(){
var txt = "";
var i;
for (i = 0; i < document.frm.certificado.length; i++) {
if (certificado[i].checked) {
txt = document.frmnoticia.certificado[i].value;
}
}
document.getElementById("flag").value = txt;
}

Y siempre la salida de la ejecución del proceso pinta en la primera fila:

CERTIFICADO - ACCION
-----------------------------------
(X) [_1_] [GRABAR]
O [___] [GRABAR]
O [___] [GRABAR]


Por favor su apoyo.


Willy