Here are some examples of using the javascript calendar control. It is available with either up down controls for the month/year or drop downs and input boxes. Note that the source is the same for each one, just the parameters passed in are different. View source for details.
Date has to be between 15th March 2003 and 25 April 2003
 Drop down month, input box year style, date format 'mm/dd/yyyy'
Date has to be today or after today only
 Up / Down controls for month, year, date format 'dd/mm/yyyy'
A rolling 2 week period from today only
 Up / Down controls for month, year, date format 'dd-mmm-yyyy'
No date restrictions at all
 Up / Down controls for month, year, date format 'dd-mmm-yyyy'
No date restrictions at all
 Drop down controls for month, year, date format 'yyyy-mm-dd'
...but there is just one problem..

Design your form appropriately! There is no workaround that maintains compatibility with NS4.x. investigate replacing DHTML layer with IFRAME if you want a IE4.x+ and NS6.x+ ONLY solution.
You can obviously choose any combination of the above. You can also change the day of the week the calendar begins on
The Calendar auto hides when the mouse is not over it, this can be switched on/off and the delay time is customisable too.
Limitations
The only unsupported platform and browser combination is Mac and IE5 due to a known bug in the Mac version of IE. NS4+ on the Mac is fine.
Download
Click here to download a zip file containing the style sheet, javascript library code, example use file and images.
Last Updated
6th Aug 2003