Linked Questions

Popular Questions

How to set options for jQuery Datepicker?

Asked by At

I use Datepicker first time. I start the JS function "date_pick" onload on my page. Standard settings are working well. But I don't know how to set options. I want the calendar in German and German date format. Also the 1st row should be Monday. We usually start with Monday on German calendars.

I checked http://api.jqueryui.com/datepicker/ but don't see where and how to include this exactly.

Thanks for your help!

function date_pick()
{
    $('#date').datepicker();
    $.datepicker.setDefaults( $.datepicker.regional[ "de" ] );
    $.datepicker.formatDate ("dd.mm.yy", new Date( 2007, 7 - 1, 14 ));
}

Related Questions