Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/10/2005, 09:07
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola Flashera

Prueba otro código más:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
validar(frm) {
  for(
i=0ele=frm.elements[i]; i++)
    if (
ele.type=='checkbox' && ele.checked)
      return 
true;
  return 
false;
}
</script>
</head>
<body>
<form action="javascript:alert('si')" onsubmit="return validar(this)">
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
<input type="submit" />
</form>
</body>
</html> 
Saludos,