Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/07/2002, 02:32
Avatar de palidowsky
palidowsky
 
Fecha de Ingreso: febrero-2002
Ubicación: Galicia-España
Mensajes: 438
Antigüedad: 23 años
Puntos: 0
Re: Pq no funciona en Netscape ¡Ayudaaaaaa!

Karlankas, ante todo gracias por responderme, mira he hecho los cambios que me has dicho, y sigue sin funcionar, ahora en explorer, me pide la validación pero acto seguido lo envía sin más, y en Netscape sigue haciendo lo mismo. Los cambios que he hecho son éstos:
<script language="JavaScript">
<!--
function validar()
{
if (formulario.NOMBRE.value == "" || formulario.NOMBRE.value=="")
{
alert('Por favor, rellene el campo nombre');
}
else if (formulario.APELLIDO1.value == "" || formulario.APELLIDO1.value=="")
{
alert('Por favor, rellene el campo primer apellido');
}
else if (formulario.APELLIDO2.value == "" || formulario.APELLIDO2.value=="")
{
alert('Por favor, rellene el campo segundo apellido ');............
else
{
document .formulario.submit();
}
}
//-->
</script>.....
<FORM name="formulario">
<td width="131" height="24">
<input type="text" name="NOMBRE" size="20">
</td>
...........
<[B]input type="submit" name="Submit" value="Enviar" onclick="validar();">
</Form>

Si me podeis ayudar os lo agradecería
</FORM>