WdatePicker 设置开始时间和结束时间

 开始时间:
 <input type="text" placeholder=" —请选择— " readonly="readonly" id="begintime" name="begintime"
 style="width: 100px;" class="Wdate" onfocus="WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd',startDate:'%y-%M-%d',maxDate:'#F{$dp.$D(\'endtime\')||\'%y-%M-%d\'}'})" />
结束时间:
<input type="text" placeholder=" —请选择— " readonly="readonly" id="endtime" name="endtime"
style="width: 100px;" class="Wdate" onfocus="WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'begintime\')}',maxDate:'%y-%M-%d',startDate:'%y-%M-%d'})" />
QQ截图20140424095539 

posted @ 2014-04-24 09:56  Seaurl  阅读(1757)  评论(0编辑  收藏  举报