Ver Mensaje Individual
  #23 (permalink)  
Antiguo 26/08/2008, 10:11
hzapata9
 
Fecha de Ingreso: junio-2008
Mensajes: 53
Antigüedad: 16 años, 3 meses
Puntos: 1
Respuesta: referencia radios creados en PHP

señores les tengo malas noticias tengo problemas en Javascript, ME DA ERROR
el input text esta así
Código PHP:
echo "<td align=center><input type='text' name='"$arreglo_m[$pos_m][1] ."' onkeydown='va(this, ident"$arreglo_m[$pos_m][0] .");' onkeyup='va(this, ident"$arreglo_m[$pos_m][0] .");' onclick=this.value=''; size=1 maxlength=3 > % </td>"
el radio asi:
Código PHP:
echo "<td align=center><input type='radio' name=ident"$arreglo_m[$pos_m][0] ." onClick='marcado=true' value=$i disabled=true></td>"
el Javascript asi:
Código PHP:
<script language="javascript" type="text/javascript">
    function 
va(numerovradio){

        if(
numero.value >= && numero.value <= 84){i=0;}
        else if(
numero <= 94){i=1;}
        else if(
numero <= 104){i=2;}
        else if(
numero <= 114){i=3;}
        else if(
numero <= 115){i=4;}
        
document.form1.vradio[i].checked true
    }
</script> 
EL MESNAJE DE ERROR "document.form1.vradio" es nulo o no es un objeto

que pude estar mal???

Última edición por hzapata9; 26/08/2008 a las 10:13 Razón: error de digitacion