Help with adding some aJax to the jQuery datepicker.

Help with adding some aJax to the jQuery datepicker.

Hi There,

I am pretty new to jQuery and AJAX but I code with CodeIgniter all the time.

I have a page at www.conorhackett.com/ajax which shows what I have done so far. I would like to set up the calendar so that when I click a date it will send the selected date to 'server.php'. this script will then return a set of data related to that date.

I would then like to be able change the dropdown box to contain only the returned data.

How should I send the data from the php script (JSON ?) and then retrieve it in javascript to be able to add it to the dropdown box?

Any kind of help with this would be greatly appreciated.

Thanks.