Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/01/2004, 05:43
Avatar de mariorestrepo
mariorestrepo
 
Fecha de Ingreso: enero-2004
Ubicación: Medellín
Mensajes: 18
Antigüedad: 20 años, 4 meses
Puntos: 0
Hola de nuevo JavierB.

Te cuento que el codigo que me enviaste no me sirvió, no sé si fué que lo copie donde no era, te lo envio completo:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<script>
function validar(obj) {
for(i=0;i<obj.elements.length;i++)
if (obj.elements[i].type=="checkbox")
if (obj.elements[i].checked)
return true;
return false;
}
</script>
<form action="mailto:[email protected]" method="post" onsubmit="return validar(this);">
<p>
<input type="checkbox" name="deportes" value="futbol">
Futbol
<input type="checkbox" name="deportes" value="baloncesto">
Baloncesto
<input type="checkbox" name="deportes" value="atletismo">
Atletismo</p>


<p> <input type="submit" name="Submit" value="Enviar"></p>

</form>
</body>
</html>

Gracias por tu ayuda.
__________________
Mario.

SOMOS ESCLAVOS DE NUESTRO PROPIO FUTURO.