I want to change the date format to dd-MM-yyyy currently the date format of my jQuery date pickeris MM-dd-yyyy below is my code in asp webforms but its not working
<link href="../Contents/css/jquery-ui.css" rel="stylesheet" />
    <script src="../Contents/js/jquery-1.8.2.js"></script>
    <script src="../Contents/js/jquery-ui.js"></script>
     <script>
        $(function () {
            $("#<%=txtChqDate.ClientID %>").datepicker();
            $("#<%=txtChqDate.ClientID %>").datepicker("option", "showAnim", "drop");
            <%--$("#<%=txtChqDate.ClientID %>").datepicker({ dateFormat: 'dd/mm/yy' });   --%>
            $("#format").change(function () {
                $("#<%=txtChqDate.ClientID %>").datepicker("option", "dd-mm-yyyy", $(this).val());
            });
         });
 
     
     
     
    