-
Hi,
I need to validate the date. Im using drop down boxes for users to select the date. I need to make sure that they're selecting a valid date. Is there any function (like isDate() in vbscript) in Javascript? or will I have to write my own function??
Thanx.
-
1 Attachment(s)
Hi Rammy
Unfortunatley there are no isdate functions in javascript and you have to make your own. Here is a js file with loads of form validation functions including a bloody good date checker (including Leap years)
Rename the file .js and stick this in your page
<script src="applicationvalidate.js"></SCRIPT>
Hoep this helps
Ian
-
Thanx Ianpbaker. Yes I realized by this time that there's no isDate() function in javascript.....and am writing my own.
Thanx again for the code,
Rammy.