This javascript cut & paste code snippet checks if a date entered is in valid Month/Date/Year format. An excellent use of regular expressions for the initial validation routine as well. Also includes illogical check for invalid dates such as February 29 if it is not a leap year.
Insert this code into your HEAD of HTML
Insert this code into your BODY section
Simply Cut and Paste Script code
Be sure to properly place script position in
HEAD & BODY sections of html
This script has been in the DesignerWiz.com Public Library.