Javascript Calendar Example by Lea Smart

Here are some examples of using the javascript calendar control.

Date has to be between 15th March 2006 and 25 April 2006 |  | 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-mm-yyyy'
No date restrictions at all |  | Up / Down controls for month, year, date format 'd mmm yyyy'
No date restrictions at all |  | Drop down controls for month, year, date format 'm/dd/yyyy'
No date restrictions at all |  | Drop down controls for month, year, date format 'd.mm.yyyy'
...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. Works now with IE. I modified the code to add an iframe so that the select statement is hidden.

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.

Last Updated: 18 Apr 2006