Source: http://blog.marzapower.com/tag/jquery/
Timestamp: 2019-04-26 08:03:09+00:00

Document:
Latest update to v. 1.1 to enhance compatibility with the newest jQuery v. 1.3.1.
The jQuery Form Validator plugin allows to define simple, yet powerful, validators for web pages forms. It's simple and configurable, and allows the definition of basic validations (required fields, numeric fields, integer fields, email fields) and also of regex over the fields in the forms.
You can now download v. 1.1 of the jQuery Form Validator plugin.
On this web site you can find a working demo of the plugin.
This plugin requires jQuery to be used in the web page. It has been tested with jQuery v. 1.2.6 and v. 1.3.1, but should correctly work with jQuery v. 1.2.x/1.3.1+.
The method init() in the ValidatorClass instance enables the validator on the form with id="myFormID". Two text fields are required (those whose names are login and password).
The validator binds the object with id="button" to the 'click' event: when it's clicked, the validator runs the validation over the form. If the validation is successful, the callback function is called, otherwise an alert will popup telling which fields are wrong; those fields will also be coloured using a particular convention (red=required, green=numeric, blue=integer, yellow=email, lightgray=regex).
callback: an array of the functions to be called if the validation is successful. Each callback function is related to a single element: i.e. callBack1 is the callback function for '#button1', etc.
The jQuery Form Validator plugin is licensed under a Creative Commons License and is copyrighted (C)2008-2010 by Daniele Di Bernardo.

References: v. 
 v. 
 v. 
 v. 
 v. 
 v.