sets a parent container for the calendar
container | string|number|HTMLElement | object id or object DOM element |
<div id="box" style="height:300px; position:relative;"></div>
<div id="box2" style="height:300px; position:relative;"></div>
var myCalendar = new dhtmlXCalendarObject("box");
myCalendar.show();
// change parent
myCalendar.setParent("box2");
Back to top