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