Sample: dhtmlxCalendar Attach Calendar to text input dhtmlxCalendar main page
X

You can attach calendar to input object.

Click in a text fild

 
<input type="text" id="calInput1" class="css1" readonly="true">
<script>
 
    cal1 = new dhtmlxCalendarObject('calInput1');
</script>