hello i am using dhtmlxCalender previous version…That was working fine,Now I am facing error drop down for month and year is not working.problem image is also attached.
Code is below.
function getCalander(id){
var calendarObj = new dhtmlxCalendarObject(id,true,{isYearEditable: true,isMonthEditable: true,isWinHeader:true,isWinDrag:false});
calendarObj.setHeaderText('');
calendarObj.setHeader(true,false,'TX');
calendarObj.setDateFormat("%m/%d/%Y");
return calendarObj;
}
function initfiscalCalender(){
fiscalCalender = getCalander('fiscalYearEnding');
fiscalCalender.setDateFormat("%M-%Y");
}
<input type="text" name="fiscalYearEnding" id="fiscalYearEnding" value=""/>