Posted: Michaelch
Date:
Summary: Jsvalidation 1.0b4 released!
Based on a large number of feedbacks, more changes have been added to this version:
* Fixed the following BUG:
1) when prompted for the password and the password, the message "the password and password must be consistent" (high voices ;-))
2) In the Mozilla browser, the normal ASCII character is incorrectly judged (severe)
3) after the verification fails, the cursor should be in the first Wrong domain. (Normal)
4) ie5.0 cannot be verified at all (severe)
* Enhanced functions:
1) Enhance the multi-form processing, for the new processing method is slightly troublesome, but the Distributed Management of validation-config.xml is more suitable for multi-person collaboration.
For example, you only need to introduce <SCRIPT src = "path/to/jsvalidation. js"> at the top of the HTML page. In addition to this method, you can add
<SCRIPT>
Validationframework. INIT ("validation-config.xml ");
</SCRIPT>
The addition of this statement makes it very important to store the validation configuration file separately in a multi-person project. Of course, the original method is retained.
2) The dovalidate () method is now easier to use. You only need to add dovalidate (this) to the form to be verified. Of course, the ID in the <form> tag is still required.
3) The error display mode is enhanced. Currently, you can select whether to display all or the first character in the form configuration file. (Show-type = "All | First ")
4) enhances the display of errors and you can change validationfailcssstyle in the validation-framework.js. (I wonder if this function is practical)
Thank you for your consistent support for jsvalidation!
Download here:
Http://cosoft.org.cn/project/showfiles.php? Group_id = 5223
Class diagram is here:
Http://cosoft.org.cn/download.php? G_u_n1_jsvalidation&f;jsvalidation.png & file_id = 6543