Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/10/2006, 14:06
Avatar de ZiTAL
ZiTAL
 
Fecha de Ingreso: marzo-2004
Ubicación: Bermio (Bizkaia)
Mensajes: 1.545
Antigüedad: 20 años, 11 meses
Puntos: 62
;)

Validar(this) en el onsubmit

Código HTML:
<form name="reserva" method="post" action="reserva.php" onsubmit="return Validar(this)"> 
luego en el script

Código:
Validar(esto)
 {
   // y aqui reemplaza reserva, por esto
   //ejemplo:
   var fecha1form=esto.mes.value+"/"+esto.dia.value+"/"+esto.ano.value;
   //...
 }
suerte!!!
__________________
http://zital.no-ip.org
____________________

Euskerie ahuen eta bijotzan