$(function () {
$('.date-picker').datepicker();
)};
I was using above code but i changed the code to change the format as:
$(function () {
$('.date-picker').datepicker({ dateFormat: 'yy-mm-dd' });
});
Though i have changed it's not working... anybody there to help?
Just copy paste this code in a blank html file and open in browser.
It has all the settings that you require, so hoping will help you