惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
Know Your Adversary
Know Your Adversary
P
Palo Alto Networks Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
K
Kaspersky official blog
L
LINUX DO - 热门话题
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
Cisco Talos Blog
Cisco Talos Blog
AI
AI
L
LINUX DO - 最新话题
H
Heimdal Security Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The GitHub Blog
The GitHub Blog
I
Intezer
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
S
Securelist
博客园_首页
IT之家
IT之家
Schneier on Security
Schneier on Security
博客园 - 叶小钗
罗磊的独立博客
WordPress大学
WordPress大学
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
W
WeLiveSecurity
The Register - Security
The Register - Security
D
DataBreaches.Net
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Recorded Future
Recorded Future
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tailwind CSS Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
T
Tor Project blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com

博客园 - NetSQL

测试标准1 javaScript数据类型与typeof操作符 写出几种IE6 BUG的解决方法 Axure使用笔记1:如何去除IE中每次“已限制网页运行脚本或ActiveX控件” IIS7 经典模式和集成模式的区别 源代码管理:SVN源代码管理器在ASP.NET VS中的使用注意事项 Android开发常用的一些功能列表 js获取下拉框的选中值和文本值,后台获取用Request["XXXX"]即可 省市区数据库下载,包含34个省级,340个市级,2865个县级 各大电子商务网站的站内搜索比较,因为要做站内搜索,所以前去观摩下 项目开发和管理需要弄清楚的6个问题 做自己网站的访问记录系统,用于推广统计 Powerdesigner中如何生成测试数据 如何进行数据库,比如ORACLE,SQL SERVER的逆向工程,将数据库导入到PowerDesigner中 oracle创建表空间 PowerDesigner中NAME和COMMENT的互相转换,需要执行语句 PowerDesigner中如何生成主键和自增列--Oracle版本 PowerDesigner建立与数据库的连接,以便生成数据库和从数据库生成到PD中。[Oracle 10G版] PowerDesigner中如何生成主键和自增列--SQL SERVER版本
juqery.validate 在IE下失效的问题,无法进行提交验证
NetSQL · 2012-12-03 · via 博客园 - NetSQL

使用的jQuery版本:jquery-1.7.2.min.js

使用的jquery.validate版本:jQuery validation plug-in 1.6

将jquery.validate.min.js中的Add方法,可以搜索"this.currentForm.elements",找到位置,代码如下所示:

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});