0

0

jQuery 1.5.1 发布,全面支持IE9 修复大量bug_jquery

php中文网

php中文网

发布时间:2016-05-16 18:10:08

|

1483人浏览过

|

来源于php中文网

原创

我们非常感谢如下的贡献者(Contributors),他们为此次的发布提供了很多补丁(Patches):antonkovalyov, csnover, danheberden, davidmurdoch, dmethvin, gnarf37, jaubourg, jeresig, jitter, jrburke, lrbabe, mathiasbynens, rwldrn, SlexAxton, and voxwerk.

我们也特别感谢我们的BUG分类小组,在他们的帮助下一些主要的BUG在本次版本更新中被修正。

下载

和通常一样,我们提供两份jQuery的拷贝。一个压缩版本一个非压缩版本(分别为了调试和阅读)。

jQuery Minified (29kb Gzipped)

jQuery Regular (212kb) jquery下载地址

你可以在自己的网站内引用上述链接地址,从而获得更快的下载速度。

当然,你也可以引用微软或者GoogleCDN加速服务器上的jQuery,他们分别是:

Microsoft CDN: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js

Google CDN: https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js

1.6路线图讨论会议(Roadmap Meeting

jQuery的核心开发团队正在讨论jQuery1.6中将要进行的改变。目前我们计划在四月下旬或者五月上旬发布jQuery1.6,我们会在37号中午讨论这些将要添加到新版本中的提议(美国东部时间)。

你可以通过这个表格37号的会议之前提交你的建议。

jQuery 1.5.1更新日志

LxShop多用户商城系统
LxShop多用户商城系统

LxShop v2.0稳定版在修复已有bug的基础上,对功能和程序架构都做了进一步的加强和完善,管理权限与用户等级挂钩、多款在线支付网关以及多款网络即时通讯工具,都大大提高了LxShop v2.0的使用性。并且伴随着此次稳定版的发布,LxShop v2.0还推出了全新的页面风格,以供用户体验。可以说LxShop v2.0稳定版是所有LxShop开发者和支持者智慧的结晶。

下载

API 文档:jQuery 1.5.1 API 文档

因为这是一次修正BUG的小版本更新,所以没有增加新的特性。唯一的变化如下:

jQuery 目前把 IE9作为一个重要的浏览器来支持。所有已知的BUG都已经得到修复或者已经提交给IE的开发团队以便在最终版本中得到解决。(All known bugs have been fixed and/or been reported to the IE team for resolution in the final release.

三个新的参数被添加到jQuery.ajax()

isLocal: 允许当前的执行环境被识别为“local(例如文件系统)jQuery默认情况下是不会识别这种环境。如下的协议被识别为本地环境:file, *-entension, widget. 如果需要修改isLocal,推荐使用$.ajaxSetup()方法来修改。

mimeType: 可以用来覆盖XHRmime type.

xhrFields: 一个可以添加到原生XHR对象上的键值对(fieldName-fieldValue)。比如,你可以在跨域调用中设置withCredentialstrue

修正的BUG列表

本次版本修正了如下BUG

  • #2551 Make sure .val() works after form.reset() in IE
  • Gzipped0 Make sure .clone(true) correctly clones namespaced events
  • Gzipped1 Don't add “px” to unit-less properties when animating them
  • Gzipped2 Make sure we only access parentNode if it's available. Fixes an issue where after an option tag has been detached, an elem.parentNode error would be thrown.
  • Gzipped3Prevent action on disabled elements, both triggering and bound via .live()
  • Gzipped4 Fix again for IE9RC. Enhances ajaxSetup so that it can take an optional target option, in which case target will be updated instead of ajaxSettings. That way, fields that shouldn't be deep extended can be listed and dealt with in one place. jQuery.ajax now makes use of ajaxSetup with target to create its internal settings object
  • Gzipped5 Follow-up fix for Gzipped6. Objects with a length property weren't serialized properly by jQuery.param
  • Gzipped7 Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension
  • Gzipped8 Sizzle and jQuery QUnit tests are out of sync
  • Gzipped9 This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn't a number, number-alike or a value that needs a fallback to 0.
  • jQuery Regular0 Fixed an issue where live(‘click') doesn't fire when live(‘submit') is bound first in IE
  • jQuery Regular1 Make jQuery.param() serialize plain objects with a property named jquery correctly
  • jQuery Regular2 jQuery 1.4.4+ fails to load on pages with old Prototype (
  • jQuery Regular3 Selectors with HTML5 input types not work in IE6/7
  • jQuery Regular4 Update jQuery.support.noCloneEvent test to function properly in IE9
  • jQuery Regular5 Properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. Unit test added
  • jQuery Regular6 Use the fast document.head when available
  • jQuery Regular7 Always restore to correct display value based on element's expected default display
  • jQuery Regular8 Fix argument handling for $.ajax for multiple method signatues and add test case
  • jQuery Regular9Temporary fix for jQuery metadata being exposed on plain JS objects when serializing with JSON.stringify to avoid compatibility-breaking changes. A proper fix for this will be landed in 1.6
  • jquery下载地址0 Renames all references to jXHR with jqXHR in the code (like was done in the doc)
  • jquery下载地址1 The default for .clone() is to not clone any events
  • jquery下载地址2 Status is set to 200 for requests with status 0 when location.protocol if “file:”. Added test/localfile.html to control it works
  • jquery下载地址3 Fix cloning multiple selected options in IE8
  • jquery下载地址4 Makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior
  • jquery下载地址5 Access to document.location is made only once at load time and if it fails (throwing an exception in IE when document.domain is already set), we use the href of an A element instead
  • jquery下载地址6 Added readyWait tests
  • jquery下载地址7 introducing the xhrFields option with is a map of fieldName/fieldValue to set on the native xhr. Can be used to set withCredentials to true for cross-domain requests if needed
  • jquery下载地址8 applying the same special cases for protocol “chrome-extension:” as were for “file:” (needs tests). Re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport
  • jquery下载地址9 XHR transport now considers 304 Not Modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest specification)
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js0 Fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. Unit test added
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js1 Remove unnecessary “script.type = text/javascript;”
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js2 Unexpose $.support._scriptEval as it's not needed. Use a private var instead
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js3 Make sure that mousing over Chrome “internal div” doesn't trigger a mouseleave
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js4 Introduces the mimeType option to override content-type header in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option)
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js5 Remove backslashes from tag name filter
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js6 Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js7 ajax does not work in opera 10 widgets
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js8 Sets data to undefined rather than null when it is not provided in ajax helpers so that it won't revent data set in ajaxSettings from being used.
  • http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js9 Make sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string.
  • https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js0 Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
  • https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js1 Make sure that IE 9 still clones attributes.

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
俄罗斯Yandex引擎入口
俄罗斯Yandex引擎入口

2026年俄罗斯Yandex搜索引擎最新入口汇总,涵盖免登录、多语言支持、无广告视频播放及本地化服务等核心功能。阅读专题下面的文章了解更多详细内容。

142

2026.01.28

包子漫画在线官方入口大全
包子漫画在线官方入口大全

本合集汇总了包子漫画2026最新官方在线观看入口,涵盖备用域名、正版无广告链接及多端适配地址,助你畅享12700+高清漫画资源。阅读专题下面的文章了解更多详细内容。

24

2026.01.28

ao3中文版官网地址大全
ao3中文版官网地址大全

AO3最新中文版官网入口合集,汇总2026年主站及国内优化镜像链接,支持简体中文界面、无广告阅读与多设备同步。阅读专题下面的文章了解更多详细内容。

59

2026.01.28

php怎么写接口教程
php怎么写接口教程

本合集涵盖PHP接口开发基础、RESTful API设计、数据交互与安全处理等实用教程,助你快速掌握PHP接口编写技巧。阅读专题下面的文章了解更多详细内容。

2

2026.01.28

php中文乱码如何解决
php中文乱码如何解决

本文整理了php中文乱码如何解决及解决方法,阅读节专题下面的文章了解更多详细内容。

4

2026.01.28

Java 消息队列与异步架构实战
Java 消息队列与异步架构实战

本专题系统讲解 Java 在消息队列与异步系统架构中的核心应用,涵盖消息队列基本原理、Kafka 与 RabbitMQ 的使用场景对比、生产者与消费者模型、消息可靠性与顺序性保障、重复消费与幂等处理,以及在高并发系统中的异步解耦设计。通过实战案例,帮助学习者掌握 使用 Java 构建高吞吐、高可靠异步消息系统的完整思路。

8

2026.01.28

Python 自然语言处理(NLP)基础与实战
Python 自然语言处理(NLP)基础与实战

本专题系统讲解 Python 在自然语言处理(NLP)领域的基础方法与实战应用,涵盖文本预处理(分词、去停用词)、词性标注、命名实体识别、关键词提取、情感分析,以及常用 NLP 库(NLTK、spaCy)的核心用法。通过真实文本案例,帮助学习者掌握 使用 Python 进行文本分析与语言数据处理的完整流程,适用于内容分析、舆情监测与智能文本应用场景。

24

2026.01.27

拼多多赚钱的5种方法 拼多多赚钱的5种方法
拼多多赚钱的5种方法 拼多多赚钱的5种方法

在拼多多上赚钱主要可以通过无货源模式一件代发、精细化运营特色店铺、参与官方高流量活动、利用拼团机制社交裂变,以及成为多多进宝推广员这5种方法实现。核心策略在于通过低成本、高效率的供应链管理与营销,利用平台社交电商红利实现盈利。

122

2026.01.26

edge浏览器怎样设置主页 edge浏览器自定义设置教程
edge浏览器怎样设置主页 edge浏览器自定义设置教程

在Edge浏览器中设置主页,请依次点击右上角“...”图标 > 设置 > 开始、主页和新建标签页。在“Microsoft Edge 启动时”选择“打开以下页面”,点击“添加新页面”并输入网址。若要使用主页按钮,需在“外观”设置中开启“显示主页按钮”并设定网址。

72

2026.01.26

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
jQuery 教程
jQuery 教程

共42课时 | 5万人学习

HTML+CSS基础与实战
HTML+CSS基础与实战

共132课时 | 9.8万人学习

tp6+adminlte搭建通用后台
tp6+adminlte搭建通用后台

共39课时 | 5.8万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号