Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/08/2002, 20:46
Avatar de .
.
 
Fecha de Ingreso: mayo-2002
Ubicación: Tampico
Mensajes: 906
Antigüedad: 22 años
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>