Hello,

I wanted to ask something if anyone can help me. I searched everywere
but couldnt find an answer. It's a simple function but for me its
dificult because i started learning jquery 2 days ago.. I would like
to ask if there is a way to put a validation on one simple input. I
have a page and 2 input fields.. if you click those field the
datepicker popus up and you chose a date. Its the jquery date picker.
All i need is when i click the 3rd button i would like that jquery
checks if the first 2 fields are empty and if they are empty it gives
out an alert or popup window saying "Please select a date !" but if
the 2 fields arent empty it redirects to a difrent page like
sencond.php . As stated before the 2 fields get the date from
datepicker and cant get the wrong entry.

Sorry for my bad english, i dont have a lot of practice in writing :).
If someone could help i would be very happy :)

With good intentions Hidden :)

Reply via email to