Documentation | jQuery Validation Plugin
link Isn't that nice and easy? A single line of jQuery to select the form and apply the validation plugin, plus a few annotations on each element to specify the validation rules. Of course that isn't the only way to specify rules. You also don't have to r...