jQuery表单验证插件 jValidate
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://plugins.jquery.com/project/jvalidate
软件介绍
jValidate allows for an easier and cleaner way of validating forms on the client side. It’s key features are that it puts validation rules in semantic HTML (inputs with class email are validates as emails, etc), is passive not aggressive, is easy to access and trigger.
There are several built in validation rules; email, url, number, string, ip, date. As well as general length restrictions with minimum length, max length and in a range. It’s also very simple to add your own validation rules, it’s easiest if you know regular expressions but it’s not a must.
There are several ways to check for validation:
- With a function $('input').validate();
- With selectors $('input:valid');
- With listeners $('input').listenValidation();
Use
<input class=”email” name=”email” type=”text” />
<input type=”text” name=”username” rel=”[5,15]” />
// JavaScript
$(’form :invalid’).each(function() {
// $(this) is invalid
}
$(’form input’).each(function() {
if($(this).validate()) {
// $(this) is valid
}
}
$(’form *’).listenValidation();
Spring Boot实战
[美]克雷格·沃斯 / 丁雪丰 / 人民邮电出版社 / 2016-9 / 59.00元
本书以Spring应用程序开发为中心,全面讲解如何运用Spring Boot提高效率,使应用程序的开发和管理更加轻松有趣。作者行文亲切流畅,以大量示例讲解了Spring Boot在各类情境中的应用,内容涵盖起步依赖、Spring Boot CLI、Groovy、Grails、Actuator。对于Spring Boot开发应用中较为繁琐的内容,附录奉上整理完毕的表格,一目了然,方便读者查阅。一起来看看 《Spring Boot实战》 这本书的介绍吧!
Markdown 在线编辑器
Markdown 在线编辑器
HEX HSV 转换工具
HEX HSV 互换工具
