
16/08/2002, 20:46
|
 | | | Fecha de Ingreso: mayo-2002 Ubicación: Tampico
Mensajes: 906
Antigüedad: 22 años, 10 meses Puntos: 1 | |
Re: validacion de datos <html>
<head>
<script language="javascript">
function comprobar(){
if(document. calform.comp.value==""){
alert("introducir datos");return false
}
return true
}
</script>
</head>
<body>
<form name=calform action=hola.html onsubmit="return comprobar()">
Nombre:<input type=text name=comp>
<input type=submit value=Enviar>
</form>
</body>
</html> |