Details about the jQuery Form Verification plug-in validate and jqueryvalidate
The validate plug-in is a jquery-based form verification plug-in. There are many common verification methods that we can call directly. Let's take a look at them.
Example:
Before toss a short URL program, the process is very smooth, the only is in the verification of the Web site this step card shell, spent the whole process of half time, finally after a search, toss and test, only to find a perfect solution.
In the
Jquery. validate has been in use for several years without writing JavaScript, and the data is organized slowly. The format is also a bit messy, mainly divided into several parts of jquery. the basic usage of validate is jquery. validateAPI
Mainly divided into several parts
Jquery. Validate basic usage
Jquery. Validate API description
Jquery. Validate custom
Validation of common jquery. Validate types
Code
Document address of jquery. Validate
Mainly divided into several parts Jquery. validate basic usageJquery. validate API descriptionJquery. validate customJquery. validate common Verification Code Document address of jquery. validate
Deep Learning about jQuery Validate form verification, jqueryvalidate
This article introduces jQuery Validate form verification, mainly by using jquery. metadata. js directly writes verification rules in the class attribute and defines the error
Jquery. Validate. js Form validation this article is transferred from: http://hi.baidu.com/greenandcoffee/blog/item/5ebe5850e2cfbb551138c24d.html
I. PrerequisitesHttp://bassistance.de/jquery-plugins/jquery-plugin-validation/API:
I have reprinted an article written by my predecessors and modified it for record only.First paste the code of a major Chinese company:Copy codeThe Code is as follows: I started from this example. In fact, this example almost contains the essence of
The jQuery Validate Form Verification plug-in adds the class attribute Form validation, jqueryvalidate
This article introduces the jQuery Validate Form Verification plug-in, and adds the class attribute Form Verification for your reference. The
Default verification rules(1) required: required field for true
(2) Remote: "check. php" uses ajax to call check. php to verify the input value.
(3) Email: true: You must enter an email in the correct format.
(4) URL: True must enter the URL in the
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.