<script src="http://www.cnblogs.com/JS/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<input type="text" name="time" id="con1_Begin_Date_txt" runat="server" class="Wdate"
onfocus="WdatePicker({isShowClear:true,readOnly:true})" validationgroup="btnSave" />
终止日期
<input type="text" name="time" id="con1_End_Date_txt" runat="server" class="Wdate"
onfocus="WdatePicker({isShowClear:true,readOnly:true})" />
引用js
<input id="tb_q_time" runat="server" class="Wdate" type="text" onfocus="WdatePicker({skin:'whyGreen'})" readonly="readonly" /><asp:RequiredFieldValidator
ID="RequiredFieldValidator9" runat="server" ControlToValidate="tb_q_time"
ErrorMessage="*"></asp:RequiredFieldValidator>
后面的是验证不为空
这个样式很不错····挺喜欢!!!记下笔记·······以后常用
WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})这个是设置选择日期的格式,我选择的是只保留到日