In the jQuery docs mostly every string is “declared” using single quotes. Including the documentation for jQuery UI.
So why doesn’t this
$(".datepicker").datepicker({ dateFormat: 'dd.mm.yy' });
work, but this
$(".datepicker").datepicker({ dateFormat: "dd.mm.yy" });
does? When using single quotes, the datepicker ignores my dateFormat setting.
(Ignore my silly habit of using double-quotes in the jQuery selector, but single quotes everywhere else 😛 )
Mmm.. Maybe here is the answer. But, anyway, I still can’t understand why you have an error here.