Basic usage of jqueryvalidate form verification-jquery-js tutorial

Source: Internet
Author: User
This article mainly introduces the basic usage of jqueryvalidate form verification. The jQueryValidate plug-in provides powerful form verification functions to simplify form verification on the client, at the same time, a large number of customization options are provided to meet various application needs. For more information, see 1. jQuery Validate plug-in Introduction

The jQuery Validate plug-in provides powerful form verification functions to simplify form verification on the client side. 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. All bundling methods use English as the error message by default and have been translated into 37 other languages.

This plug-in was compiled and maintained by J örn Zaefferer. He is a member of the jQuery team, the main developer of the jQuery UI team, and the maintenance personnel of QUnit.

  • Official Website:Http://bassistance.de/jquery-plugins/jquery-plugin-validation/
  • Online Documentation:Http://docs.jquery.com/Plugins/Validation
  • Online API:Http://jquery.bassistance.de/api-browser/plugins.html

II. Introduction to features of jQuery Validate

JQuery Validate has the following features:

(1) built-in verification rules;

Powerful jQuery Form Verification plug-in, suitable for daily E-mail, phone number, URL verification and Ajax verification, in addition to its own rich verification rules, you can also add custom verification rules.

Compatible with IE 6 +, Chrome, Firefox, Safari, and Opera 10 +

(2) custom verification rules;

(3) simple and powerful information tips.

(4) Real-time verification: the verification is triggered through the keyup or blur event, not only when the verification is submitted.
Iii. Simple example to learn jQuery Validate

The prerequisites for these examples are to introduce the jQuery library and Validation plug-in.

 

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.