Ver Mensaje Individual
  #6 (permalink)  
Antiguo 09/06/2004, 01:46
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses
Puntos: 61
Vamos, que hay que hacertelo todo...
<html>
<head>
<script>
function vagueria(){
if(!(document.forms[0].pregunta[0].checked ||document.forms[0].pregunta[1].checked)){
alert("Por favor, no sea tan vago de nisiquiera contestar");return false;
}
}
</script>

</head>

<body>

<form action="javascript:alert('Mandando!')" onsubmit="return vagueria()">

¿Me apetece aprender?<br>
<input name="pregunta" type="radio" value="si">Sí<br>
<input name="pregunta" type="radio" value="no">No<br>
<br>
<input type="submit">
</form>
</body>
</html>
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.