WdatePicker设置时间区间时,对开始时间和结束时间限制

    <input id="startDate" name="startDate"  type="text" readonly="readonly" maxlength="20" class="input-small Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\'endDate\')}'})"/>
        —
        <input id="endDate" name="endDate" type="text" readonly="readonly" maxlength="20" class="input-small Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'startDate\')}'})"/>

posted @ 2014-10-30 14:36  next_door_boy  Views(9114)  Comments(0Edit  收藏  举报