How to combine DhtmlxForm and DhtmlxCallendar ??
when not load Form, load Calendar -> Calendar work, Form not work
when Load Form, load Calendar -> Calendar not work, Form work
<link rel="stylesheet" type="text/css" href="Calendar/skins/dhtmlxcalendar_dhx_blue.css" charset="utf-8">
<link rel="stylesheet" type="text/css" href="Calendar/dhtmlxcalendar.css">
<link rel="stylesheet" type="text/css" href="Form/skins/dhtmlxform_dhx_skyblue.css">
<script>
window.dhx_globalImgPath="Calendar/imgs/";
<script>
window.onload = function () {
mCal = new dhtmlxCalendarObject('dhtmlxCalendar', false, {isYearEditable: true});
mCal.attachEvent("onClick",mSelectDate);
mCal.draw();
}
function mSelectDate(date) {
document.getElementById('mCalInput').innerHTML = mCal.getFormatedDate("%d.%m.%Y", date);
return true;
}
Emergency Contact and Medical Information
Calendar
<li ftype="radio" name="select" focus="1" _disabled="1" class="classname" style="" value="online">Will enjoy the online demo</li>
<li ftype="radio" name="select" value="disk" checked="true">Please send me disk
<ul>
<li ftype="checkbox" name="bootleg" checked="true">Insert bootleg</li>
<li ftype="checkbox" name="lyrics" checked="true">Lyrics if possible</li>
<div>Payment</div>