jQuery date format not working
<p>I am using jQuery datepicker for my project. I have this code:</p>

<pre><code>$('#date-show').datepicker({ dateFormat: 'dd-mm-yy' });
</code></pre>

<p>My gripe is that although the datepicker shows, the date format is still 'mm-dd-yyyy') and I had also tried </p>

<pre><code>$('#date-show').datepicker("option","dateFormat","dd-mm-yy");
</code></pre>

<p>It still displays as mm-dd-yyyy. Am I missing out something?</p>