Copy Code code as follows:
<tr><th> Release Start date </th>
<td><input type= "text" id= "Uslinetime" "Name=" Uslinetime "size=" class= "Easyui-validatebox"
Onfocus= "Wdatepicker ({el: ' Uslinetime ', datefmt: ' Yyyy-mm-dd ', maxdate: ' #F {$dp. $D (\ ' uelinetime\ ')} '})"
Value= "<fmt:formatdate value=" ${product.uslinetime} "pattern =" Yyyy-mm-dd "/>" required= "true"/></td ></tr>
<tr><th> Sale End Date </th><td>
<input type= "text" id= "Uelinetime" "Name=" Uelinetime "size=" class= "Easyui-validatebox"
Onfocus= "Wdatepicker ({el: ' Uelinetime ', datefmt: ' Yyyy-mm-dd ', mindate: ' #F {$dp. $D (\ ' uslinetime\ ')} '})"
Value= "<fmt:formatdate value=" ${product.uelinetime} "pattern =" Yyyy-mm-dd "/>" required= "true"/>
</td></tr>
Note: The uelinetime is the current time, the main control is the control of the date control,
MaxDate is the largest can only select the current date, greater than the current date of the dimmed, can not be selected.
The principle of mindate is ditto.