javascript - jQuery datepicker with German format -
i need change jquery datepicker formatting mm/dd/yyyy
german style d mmmm yyyy
.
i have tried code not work me.
<script type="text/javascript"> $(function () { $('.datepicker').datepicker(); $(".selector").datepicker({ dateformat: 'd-mmmm-yyyy }); }); </script>
the date format shows , never change!
what wrong in code idea? thanks
german date format dd.mm.yyyy
can use this
$(".selector").datepicker({ dateformat: 'dd.mm.yyyy' });
Comments
Post a Comment