Update record:
2011/6/5 jquery formvalidator 4.1.0 ver
Statement:
1. When all the demos reference the jquery class library, the class library is directly followed by the version number, indicating the maximum class library version supported by the plug-in.
2,Plug-in name: plug-in name + version number, compressed version: plug-in name + version number + min
NewAdded the following features:
1, Added the skin replacement function, including the style of the prompt layer and the style of the input control (currently only text, password, file, textarea are supported. The theme attribute is added to initconfig to indicate the skin name. The value of theme can be the folder name under the theme directory. For details, see [Skin Preparation] in the Help file of the electronic version]
$. Formvalidator. initconfig ({theme: "arrowsolidbox "});
2 The formvalidator function adds the lefttrim and righttrim attributes. Whether to remove spaces on the left or right before verification. The default value is false.
3. The success event of ajaxvalidator can return a string indicating the error message, which is displayed on the prompt layer first.
4. Add the attribute ajaxform for initconfig to configure parameters submitted by Ajax for the entire form. For details, see demo7 and API help.
$. Formvalidator. initconfig ({theme: "default", submitonce: True, formid: "form1", ajaxform :{
Datatype: "html ",
Buttons: $ ("# button "),
URL: "http://www.51gh.net/chkuser.aspx? Act = OK"
} });
5. onerror and onsuccess of all functions support strings, and the function (the parameter is the current value) also supports returning strings.
6. Publish a web version Code It is supported from the current version.
Call steps:
A. Introduce the Code Generator script on the form page you want to verify.
<SCRIPT src = "formValidatorCode-1.0.0.min.js" type = "text/JavaScript"> </SCRIPT>
B. Call a function. If the verification code has been written, call it after the verification code is registered.
$. Formvalidatortools. opentools ();
7. Provide a Code Generator
Compressed package-related changes
1. All the help files are made into a CHM e-Help file and examples are separated into a folder.
2. Put plug-in-related files in a directory
Solve the following bugs:
1. Corrected ajaxvalidator.The function has a conditional writing error bug.
2, CorrectionThe bug that the formvalidator function automodify attribute does not work for the password control.
(The blog garden has stopped the download count, so all the downloads will be downloaded on the Forum)
Download Page:
Http://www.yhuan.com/thread-45-1-1.html
Document page:
Http://www.yhuan.com/thread-86-1-1.html
Code Generator page:
Http://www.yhuan.com/thread-43-1-1.html
Demo page:
Http://www.yhuan.com/formValidator4.1.0/
Skin explanation:
Http://www.yhuan.com/thread-98-1-1.html