How to change jQuery datepicker options in codebehind
<p>I am creating a user control that uses the jQuery date picker widget, as follows:</p>

<pre><code>$(function () {
    $("#datePickerYearMonth").datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd-M-yy',
    });
});
</code></pre>

<p>But instead of hard coding the options I would like to create properties or something like that so that I can change the properties dynamically from code behind.</p>

<p>Is this possible?</p>
