logo
Blog single photo

jquery datepicker date format dd/mm/yyyy not working


                        

$( "#date_2" ).datepicker({dateFormat: 'dd/mm/yy'});
jquery datepicker date format dd/mm/yy not working properly


<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<link href="http://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.css" rel="stylesheet" />
<script src="http://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.js"></script>


$( "#date_1" ).datepicker({dateFormat: 'dd/mm/yy'});


 $( "#date_2" ).datepicker({dateFormat: 'dd/mm/yy'});
Top