Please see my other JavaScript articles.
Ensuring valid dates are received.
When users complete online forms, it’s critical to ensure values received are valid both in format and type.
JQuery provide the ability to present the user with an input control that mimics a standard textbox control, but forces him/her to select their date using a calendar, which in turn prevents invalid date values from being entered.
In addition to the calendar, the user is also presented with dropdownlist controls to select the month and year as well as left/right arrows to traverse backwards and forwards.