DHTMLX Docs & Samples Explorer

Attach to input

Source
<link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxcalendar.css">
    <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxcalendar_dhx_skyblue.css">
    <script src="../../codebase/dhtmlxcalendar.js"></script>
    <style>
        #calendar,
        #calendar2,
        #calendar3 {
            border: 1px solid #909090;
            font-family: Tahoma;
            font-size: 12px;
        }
    </style>
    <script>
var myCalendar;
function doOnLoad() {
    myCalendar = new dhtmlXCalendarObject(["calendar", "calendar2", "calendar3"]);
}
</script> <div style="position:relative;height:280px;"> <input type="text" id="calendar"> <input type="text" id="calendar2"> <input type="text" id="calendar3"> </div>