How to use Calandar control

I have tried but somehow it display calendar window which is not proper and some other window with page cannot be displayed. Here is the code that I have tried.













datepicker





<script language=“JavaScript” src=“include/dhtmlxcalendar.js”

    type=“text/javascript”>



<script language=“JavaScript” src=“include/dhtmlxcommon.js”

    type=“text/javascript”>

























a) to be safe, always include dhtmlxcommon.js at first
b) in your HTML layout input tag placed outside of BODY

Whe two, mentioned above, problems fixed - all works correctly.
Sample attached

1214845755.zip (64.5 KB)