Wdatepicker start date cannot be greater than end date, end time cannot be less than start time

Source: Internet
Author: User
<input class= "Input_calendar inputcss" id= "StartDate" runat= "Server" type= "text"  
Onfocus= "Wdatepicker ({maxdate: ' #F {$dp. $D (\ 'endDate\ ') | | \ ' 2120-10-01\ '} ') " style=" height:30px; width:153px; />

Note: If more than one function is required for control in Wdatepicker, each function is separated by commas. such as: onclick= "Wdatepicker ({maxdate: ' #F {$dp. $D (\ ' endtimevalue\ ') | | \ ' 2120-10-01\ '} ', datefmt: ' Yyyy-mm-dd '}) "
<input class= "Input_calendar inputcss" id= "endDate" runat= "Server" type= "text" onfocus= "Wdatepicker ({mindate : ' #F {$dp. $D (\ 'startdate\ ')} ', MaxDate: ' 2120-10-01 '}) "  style=" height:30px; width:153px; " />



The start date cannot be greater than the end date, the most error-prone place is the yellow background section, and the control ID forgets to set. MaxDate is the maximum date range.

Wdatepicker start date cannot be greater than end date, end time cannot be less than start time

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.