Jquery formvalidator 3.3ver released

Source: Internet
Author: User
Some bugs were found during the upgrade and were corrected in this version. The jquery class library of the new version was simplified a lot. Code .
1. During the upgrade, the defaultvalue attribute in the inputvalidator function is incorrect, resulting in invalid default values.
The correction is as follows:
The attribute name of the last version is defaultval, Which is corrected to the original attribute name defaultvalue.
Both the checkbox, radio, and select controls must be initialized using arrays. For details, see the default values of several controls in demo1.

2. ajaxvalidator is the most frequently asked question. Correct a bug (thanks to the netizen "too many errors √") and explain the most important questions.
BUG: no matter whether the verification is successful or not, when the control gets the focus again and loses the focus again, the tip prompts will be stuck in the focus prompt.
History of previous upgrades:
A. Add an addidvalue attribute for ajaxvalidator (whether to automatically add the ID and value to the end of the URL parameter)
To fix the bug that ajaxvalidator cannot get the runtime value when Configuring Information, the plug-in automatically adds a webpage parameter in the form of "id = value" after the URL. On the server side, you can use request. querystring ["ID"] to set the value. For more information, see demo1 user name input and default. aspx.
B. ajaxvalidator will automatically add another parameter to the request address "clientid = Form ID triggering verification ".
If you use a jquery set for verification and the ajaxvalidator verification method, on the server side, you cannot know which form element triggers the verification, therefore, append "clientid = Form ID that triggers Verification" to the end of the request address ".

3. During the last update, the datepicker date control is left in the compressed package and corrected together.

 

 

 

Demo page:

Http://www.yhuan.com/formvalidator/demo1.htm

Fixed release (download) page:

Http://www.cnblogs.com/wzmaodong/archive/2008/01/11/1034901.html

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.