Attach Calendar to text input
You can attach calendar to input object.
Click in a text fild |
You can attach calendar to input object.
Click in a text fild |
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxcalendar.css"> <script></script> <script src="../../codebase/dhtmlxcommon.js"></script> <script src="../../codebase/dhtmlxcalendar.js"></script> <script>window.dhx_globalImgPath = "../../codebase/imgs/";</script> <table > <tr> <td valign="top"><strong>Click in a text fild</strong><br /> <input type="text" id="calInput1" style="width: 200px; font-size:12px;" readonly="true"> </td> </tr> </table> </table> <br>var cal1, cal2, mCal, mDCal, newStyleSheet; var dateFrom = null; var dateTo = null; window.onload = function() { cal1 = new dhtmlxCalendarObject('calInput1'); }