I wanted to find a better solution to inputting dates on a form than expecting users to manually input dates.
I searched for AJAX date pickers and there were a number of options, although a lot of them were calendars and not specific date pickers. I’d heard a lot about jQuery so I decided to give that a go.

It was very easy to install. Download jQuery. Add the js files to the header of my page. Add the css class to the form input tag.
In MySQL I was using Date as the field type so I need to adjust the format of the form field to match the date input i.e. 2009-09-01
Reading the jQuery documents this was fairly simple:
$(’.datepicker’).datepicker({ dateFormat: ‘yy-mm-dd’ });

Thinking about it now I could probably use a fairly simple dropdown option for year – month – day, but it’s fun to learn to use jQuery.