I'm new to jquery, I've created a date-picker, I want to deselect the weekend and holidays while end user click the date-picker button. Can you please suggest me how to proceed this?
HTML
<p>Date: <input type="text" id="datepicker"></p>
JS
$(document).ready(function(){
$("#datepicker").datepicker();
$("#datepicker").datepicker("option", "dateFormat", "d-M-yy");
});
});
Please advise.