JQuery verification plug-in Validate details _ jquery

Source: Internet
Author: User
Validate is a good jq plug-in that provides powerful verification functions to simplify form verification on the client. It also provides a large number of custom options to meet various application needs. This plug-in is bundled with a set of useful verification methods, including URL and email verification, and provides an API for Writing user-defined methods. Validate is a good jq plug-in that provides powerful verification functions to simplify form verification on the client. It also provides a large number of custom options to meet various application needs. This plug-in is bundled with a set of useful verification methods, including URL and email verification, and provides an API for Writing user-defined methods.

The most common use of JavaScript is form verification. jQuery, as an excellent JavaScript library, also provides an excellent form verification plug-in-Validation. Validation is one of the oldest jQuery plug-ins. It has been verified by different projects around the world and has been well received by many Web developers. As a standard Validation repository, Validation has the following features:

1. built-in verification rules: there are 19 built-in verification rules, including mandatory, number, Email, URL, and credit card number.
2. Custom verification rules: You can easily customize verification rules.
3. Simple and powerful verification information prompt: The verification information prompt is displayed by default, and you can customize to overwrite the default prompt information.
4. Real-time verification: verification may be triggered by keyup or blur events, not just when the form is submitted.

Validate. js: http://plugins.jquery.com/project/validate
Metadata. js: http://plugins.jquery.com/project/metadatause metadata:


1. Introduce the jQuery library and Validation plug-in

The Code is as follows:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.