jquery datepicker format problem
- by Sam Vloeberghs
Hi
I'm having a problem trying to format the output on the jQuery UI datepicker.
I want the dateformat to be the 'ISO 8601' format, like explained here:
http://jqueryui.com/demos/datepicker/#date-formats
This is what my code looks like:
$.datepicker.setDefaults($.datepicker.regional['nl']);
$('.datepicker').datepicker('option', {dateFormat: 'yy-mm-dd' });
Can someone help and advice plz?
Thx in advance! I really trust this community for providing a quick and great answer! :)