Tema: validar
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 24/06/2004, 15:18
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 5 meses
Puntos: 381
obj = eval("formulario.nombre_" + viendo);
objSuma = eval("formulario.suma_" + viendo);
objSuma.value = obj.value * 10

... y seguirá devolviendo NaN si el valor no es numérico