Let's say if a month(eg:June -2016) is selected from datepicker of JQuery.It shows 29th of May to 2nd of July.Here I want to restrict the number of weeks to 4. So I want to change the heading as May-29 To Jun-25.Thus it follows for the other months.
Html
<h4>
Fiscal Year
</h4>
<input type="text" id="mydatepicker" />
JQuery
$(document).ready(function () {
$("#mydatepicker").datepicker({
showOtherMonths: true,
selectOtherMonths: true
});
})
Aucun commentaire:
Enregistrer un commentaire