jquery date formatting
<p>How can I format the date using jquery. I am using below code but getting error:</p>

<pre><code> $("#txtDate").val($.format.date(new Date(), 'dd M yy'));
</code></pre>

<p>Please suggest solution</p>
