Home >php教程 >php手册 >解决jquery.validate失去焦点时执行验证

解决jquery.validate失去焦点时执行验证

WBOY
WBOYOriginal
2016-06-07 11:42:46948browse

jquery.validate表单验证插件是自己项目中必用插件。但在使用过程中发现,在失去焦点时,无法验证。研究后发现,解决办法如下:
//设置参数下如<br> onfocusout: function(element) { $(element).valid(); }这样就可以解决以上所说的问题

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn