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:
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
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:
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
I. PreparationsJQuery version: 1.2.6 +, compatible with 1.3.2
Official website address: http://jqueryvalidation.org/
Ii. Default verification rules(1) required: required field for true(2) remote: "check. php" uses ajax to call check. php to verify
Ziadoz a list of PHP resources that are maintained on GitHub, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more. Bó Lè has
Dependency ManagementDependency and Package Management Library
Composer/packagist: A package and dependency manager
Composer Installers: A multi-frame Composer Library Installer
Pickle: a php extension installer
Other
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development
Defining Chinese messagesvar cnmsg = {Required: "Required field",Remote: "Please fix this field",Email: "Please enter the correct format of e-mail",URL: "Please enter a valid URL",Date: "Please enter a valid date",Dateiso: "Please enter a valid date
Www.php100.comhtmldujia201501058267.htmlwww.php100.comhtmldujia201501068277.html benefits are coming, PHP fans! Foreign programmer ziadoz collects various PHP resources on Github, including libraries and tools for templates, frameworks, databases,
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.