// **********************************************************************************
// Program by Deiva()
// a very simple date and time picker
// in the page, it should include the dtp.js file
// like <script src="dtp.js"></script>
// then using onClick="dtpDate(this, 'name')" to popup the selector
// the date's is dtpDate(this, 'name'), and the time's is dtpTime(this, 'name')
// it just passes test from IE explorer....
// QQ:42798496
// mail: deiva@tom.com
// (http://www.ce.net.cn) Ŀʦ
// **********************************************************************************



ҳJSļ
<script src="dtp.js"></script>

ѡ
<input id="myDate" name="myDate" vlaue="2005-11-18" onClick="dtpDate(this, 'myDate')">

ʱѡ
<input id="myTime" name="myTime" vlaue="02:14" onClick="dtpTime(this, 'myTime')">