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();
微信公众号深度解析
魏艳 / 化学工业出版社 / 2017-5 / 49.80元
本书是一本微信公众号营销的教科书,全方位揭秘了微信订阅号、微信服务号、微信企业号三大类型账号的运营管理策略和技巧,有助于企业构建一套全新的微信公众号营销体系,打造一个移动端的商业帝国,是企业和微商必读的微信公众号营销和运营宝典。 《微信公众号深度解析:订阅号+服务号+企业号三号运营全攻略》突出了“新”、“全”、“实战”三大特点,阐述了微信公众号在新形势下的现状、发展趋势和三大类型;微信公众号......一起来看看 《微信公众号深度解析》 这本书的介绍吧!
