<a target=_blank id="cb_post_title_url" class="postTitle2" href="http://www.cnblogs.com/linjiqin/p/3148251.html" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14.7px; text-decoration: none; color: rgb(26, 139, 200); background-color: rgb(255, 255, 255);">My97DatePicker日期控件的使用</a>
1、下载My97DatePicker组件包
下载地址:http://www.my97.net/dp/down.asp
2、在页面中引入该组件js文件:<script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
3、调用 My97DatePicker <td><label>开始日期</label></td>
<td><input type="text" id="startTime" class="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endTime\')}' })"/></td>
<td><label>结束日期</label></td>
<td><input type="text" id="endTime" class="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startTime\')}'})"/></td>
<input class="Wdate" type="text" id="pageEndTime" style="width: 150px;" onFocus="WdatePicker({isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
<input id="d121" type="text" onfocus="WdatePicker({isShowWeek:true})"/>