$(function () {
$('#datepicker_dateshow').datepicker({
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: 'mm-yy',
onClose: function (dateText, inst) {
$(this).datepicker('setDate', new Date(inst.selectedYear, inst.selectedMonth, 1));
}
});
});
Above is my Code i want to pass two parameters in this ng-model="Datashow"
when my calendar display then it will show one side Month and one Side Year
so i want to give two different parameters Like one is- month and Second is -Year
so how to do it
please help me