日期:2014-05-16 浏览次数:20375 次
<span> 起始: </span> <input id="txtStartTime" type="text" readonly="readonly" /> <div id="startTime" > </div> <script type="text/javascript"> WdatePicker({ eCont: 'startTime', onpicked: function (dpStart) { var txtStart = document.getElementById("txtStartTime"); txtStart.value = dpStart.cal.getDateStr();} }) </script> <span> 终止: </span> <input id="txtEndTime" type="text" readonly="readonly" style="width: 125px; position: absolute;/> <div id="endTime" style="position: absolute; left: 850px; top: 220px; text-align: left;"> </div> <script type="text/javascript"> WdatePicker({eCont:'endTime', onpicked: function (dpEnd) { var txtEnd = document.getElementById("txtEndTime"); txtEnd.value = dpEnd.cal.getDateStr(); } }) </script>
起始:<input id="txtStartTime" type="text" readonly="readonly" /> <div id="startTime" ></div> 终止:<input id="txtEndTime" type="text" readonly="readonly" /> <div id="endTime"></div> <script type="text/javascript"> WdatePicker({eCont:'startTime',vel:'txtStartTime'}); WdatePicker({eCont:'endTime',vel:'txtEndTime'}); </script>
------解决方案--------------------
。。。。。。。。。。。。。虚心。。。。啊。。lz