The most common use of JavaScript is the validation of the form, and jquery as a good jvascipt library, but also
Provides an excellent form validation plugin validation,validation is one of the oldest jqery plugins,
Validated by various projects around the world, and well received by many Web developers, validation has the following characteristics as a standard library of validation methods.
Built-in validation rules: 19 Types of built-in validation rules with required, digital, e-mail URLs, and credit card numbers
Custom validation rules: Custom validation rules can be easily customized
Simple and powerful authentication information hint: Default authentication information prompt, and provide children you override the default prompt information function
Real-time validation: Validation can be triggered by keyup or blur events, not just when the form is submitted
jquery Form Validation Plugin validation