![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/10/2008, 13:07
|
| | Fecha de Ingreso: octubre-2008
Mensajes: 3
Antigüedad: 16 años, 4 meses Puntos: 0 | |
Ayuda funcion javascript Hola a todos,
Estoy haciendo un cuestionario y tengo una función para validar los radio dinamicos que he creado, pero resulta que en la función no se porque no llega al segunto Alert. Alguien tiene idea de porque?
<script>
function checkFields(formulario)
{
objetos = formulario.elements;
objcheck = 0;
objcheckm = 0;
for (x=1; x < objetos.length +1; x++)
{
if(objetos[x].type == 'radio')
{
if(objetos[x].checked)
{
alert('entra');
}
}
} alert('No llega'); --AQUI NO LLEGA
return True;
}
</script> |