Hi there's a couple of things that id like to ask.

Here is my code:

                $(function()
                {
                        $('#deliverydate').datepicker({
                            minDate: +1,
                            maxDate: '+1Y',
                            changeMonth: true,
                            changeYear: true,
                            showOn: 'both',
                            buttonImage: 
'../../images/general_images/calendar.jpg',
                            buttonImageOnly: true,
                            altField: '#actualDate',
                            altFormat: 'yy-mm-dd',
                        });
                });

basically I want the user to see the date in the 'dd-mm-yy
format' (this already happens) but i want the post information to be
in the 'yy-mm-dd format'.

The document (http://docs.jquery.com/UI/Datepicker/datepicker#options)
suggests:

Display one date format and send another from a different field.

$(".selector").datepicker({
 altField: '#actualDate', altFormat: 'yy-mm-dd' })

Which i've added, but how would i access that data when the form is
posted?

Thanks for any help

Reply via email to