Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by chandran on Aug 19, 2008 04:01
open dhtmlx forum
dhtmlx calendar

I have included scripts dhtmlxcalendar.js and dhtmlxcommon.js and the following (<script>
                    mCal = new dhtmlxCalendarObject('dhtmlxCalendar', false, {isYearEditable: true});
                    mCal.loadUserLanguage('en-us');
                    mCal.draw();
</script>)
in my webpage . But when i try to run the page im getting a script error saying object required . Can some one help
Answer posted by Support on Aug 19, 2008 07:49
The first line 
>>  mCal = new dhtmlxCalendarObject('dhtmlxCalendar', 
mean that you want to render calendar inside some object with ID='dhtmlxCalendar'
Please be sure that object with such ID exists and script called after such object rendered.