HTML 5表单插入了实时验证? [英] HTML 5 form plug in with real-time validation?

查看:123
本文介绍了HTML 5表单插入了实时验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个类似于这个的JQuery插件, a>,以允许跨浏览器的html5表单支持。不过,我正在寻找一种实现实时表单验证的工具。

I am looking for a JQuery plugin similar to this, to allow html5 form support across browsers. However, I am looking for one that implements real-time form validation. Giving users feedback either on keyup or on blur (preferably blur).

有人知道一些符合法案的东西吗?

Does anyone know something that fits the bill?

推荐答案

忘记我的评论,我发现这个: http://ericleads.com / h5validate /

Forget my comment, I found this: http://ericleads.com/h5validate/ !

是否符合您的需求?

Does that suit your needs?


focusout,focusin,change,keyup
(Events)这些是面向键盘的
事件。最好把
看作非鼠标特有的事件。如果您希望他们
触发字段验证,请将
设置为true。默认值:

focusout, focusin, change, keyup (Events) These are the "keyboard oriented" events. Better to think of them as non-mouse-specific events. Set them to "true" if you want them to trigger a field validation. Defaults:



focusout: true, 
focusin: false,
change: false, 
keyup: true

这篇关于HTML 5表单插入了实时验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆