stunicholls.com

...exploring the possibilities

jQuery date picker

4th June 2009






Copyright © 2009 stunicholls.com

Information

This is a jQuery/javascript routine which allows you to pick your date using a popup calendar or via the selectbox options or a combination of both.

The select box options will adjsut the number of days depending on the month and year selection. If you select a leap year then February will adjust to 29 days. If you have the 31st date selected and then change to a month with fewer days, the date will adjust to the maximum for that month.

Clicking the calendar image will pop up a calendar set to the current month/year and show the current date selected. Picking a new date from the calendar will alter the select box date, and picking a new date, month or year from the select boxes will alter the calendar to suit.

You will need a copy of jQuery to be able to use this routine.

If you would like a copy of this demonstration then please email me and make a donation to support stunicholls.com.