WdatePicker时间 前后时间限制解决方案

						<td class="td">
						操作时间:<input id="txtStartDate" readonly="true" class="seInput" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'txtEndDate\',{d:0})||\'%y-%M-%d %H:%m:%s\';}'})"  name="beginDate" type="text" value="<#if beginDate?exists>${beginDate?number_to_datetime}</#if>"/>
						</td>
						<td class="td">
						到:<input id="txtEndDate" readonly="true" class="seInput" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'txtStartDate\',{d:0});}',maxDate:'%y-%M-%d %H:%m:%s'})"  name="endDate" type="text" value="<#if beginDate?exists>${endDate?number_to_datetime}</#if>"/>
						</td>
						<td class="td"><a class="btnSearch" op="search" href="#">搜索</a> 
						</td>

 

你可能感兴趣的:(Datepicker)