开发的时候用的是 谷歌和360极速浏览器,做web的知道,这几种浏览器对我们编写js脚本有很大的帮助。
前端验证用的是 jQuery.validity.js。后来在IE8中验证不起作用,网上找了很多资料,都没能成功,后来终于找到了,帮我解决了问题!
引自: http://www.cnblogs.com/netsql/archive/2012/12/03/2799463.html
return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function() { ! this.name && validator.settings.debug && window.console && console.error("%o has no name assigned", this);
// select only the first element for each name, and only those with rules specified
if (this.name in rulesCache || !validator.objectLength($(this).rules())) return false;
rulesCache[this.name] = true;
return true;
});
改成:
return $(':input',this.currentForm).not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true});
不想改的朋友可以下载我已经改好后的 jQuery.validity.js
分享到:
相关推荐
jQuery表单验证插件 jQuery.validity
基于jquery的表单验证框架,基于jquery的表单验证框架,基于jquery的表单验证框架.
jQuery.validity易于学习和使用。 它完全适用于简单的验证方案,但它也设计用于干净自然地处理更复杂,动态或有条件的方案。 jQuery.validity利用jQuery的选择器引擎对输入的逻辑分组执行验证,从而使其具有声明性...
主要介绍了jquery内置验证(validate)使用方法示例,在做表单验证的时候可以用到,下面看代码使用方法
jQuery的定义/特点: jQ的语法结构; 选择器: jQuery事件 jQuery方法 正则表达式 RegExp对象 validity属性
适用于 jQuery 和 Angular.js 例子 # Define a class with some validation rules class Person Validity . define @ , name : ' required ' email : { regex : / . + \@ . + \. . + / } age : [ ' number ' ,...
SMPP 协议 3.4, 英文版, 可选择。 Table of Contents 1. Introduction.................................................................................................................8 ...
驱动程序,hp的elitebook 系列指纹驱动程序!
Validity90, 有效/synaptics 138a的反向工程 Validity90本项目的目的是对有效的138 a:0090, 138 a:0094, 138 a:0097, 06: 0081.指纹读取器进行反向工程,创建规范和牙线libfprint驱动程序。讨论这里项目的主要聊天:...
19.2. 在Spring Security里使用LDAP 19.3. 配置LDAP服务器 19.3.1. 使用嵌入测试服务器 19.3.2. 使用绑定认证 19.3.3. 读取授权 19.4. 实现类 19.4.1. LdapAuthenticator实现 19.4.1.1. 常用功能 ...
注:如果使用自己的keystore,请在设置窗口点“验证”按钮确保能显示为“验证成功”的方能使用,否则如果配置不正确编译成的apk是没有签名的(即apk中没有META-INF文件夹),且这个过程中不会有错误提示造成无法排查...
Python库是一组预先...例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
Python库是一组预先...例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
language testing 权威刊物文章 可供语言测试与学习者使用。
linux_check_password_complex_validity-2.xml
18.2. 在Spring Security里使用LDAP 18.3. 配置LDAP服务器 18.3.1. 使用嵌入测试服务器 18.3.2. 使用绑定认证 18.3.3. 读取授权 18.4. 实现类 18.4.1. LdapAuthenticator实现 18.4.1.1. 常用功能 18.4.1.2. ...
6.1 Data validity . . . . . . . . . . . . . . . . . . . . . . . . 8 6.2 START and STOP conditions . . . . . . . . . . . 9 7 TRANSFERRING DATA . . . . . . . . . . . . . . .10 7.1 Byte format . . . . . ...
validity-2020年CRM数据管理报告(英文)-2020.6-37页精品报告2020.pdf
另:Spring Security 从2010-01-01 以后,版本控制从SVN 换成了GIT,我们在翻译文档的 时候,主要是根据SVN 的变化来进行文档内容的比对,这次换成GIT 后,感觉缺少了之前 那种文本比对工具,如果有对GIT 熟悉的...
有效性指纹传感器驱动程序。 目录 python-有效性 配置 错误情况 列出设备失败 启动时出错 从挂起唤醒后指纹不工作 启用指纹以进行系统身份验证 ...更多详情、使用方法,请下载后细读README.md文件