jquery ajax 1.7,Javascript框架jQuery 1.7.1正式版发布

【IT168 技术】Jquery是继prototype之后又一个优秀的Javascrīpt框架。它是轻量级的js库(压缩后只有21k) ,它兼容CSS3,还兼容各种浏览器(IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)。jQuery使用户能更方便地处理HTML documents、events、实现动画效果,并且方便地为网站提供AJAX交互。jQuery还有一个比较大的优势是,它的文档说明很全,而且各种应用也说得很详细,同时还有许多成熟的插件可供选择。jQuery能够使用户的html页保持代码和html内容分离,也就是说,不用再在html里面插入一堆js来调用命令了,只需定义id即可。

992af3709ac6282039a5c19dee88391f.png

jQuery 1.7.1 正式版发布了,新增功能如下:

Ajax

#10723: jqXHR.always()返回的不再是jqXHR对象。

Attributes

#10724: $(document).text()返回空字符串。

#10773: removeAttr is fragile for edge cases

Build

#10630: Fix focus-related test failures to resolve Swarm failures

Core

#10616: Type coersion not done for -1 in .eq

#10646: jQuery.error抛出错误对象的实例。

#10682: Creating DOM elements with $(‘ ‘) leaks memory and skips the fragment cache

#10687: jQuery calls the AMD define() global function too early

#10690: isNumeric

Css

#10733:在CSS模块中移除了jQuery.each的使用

Data

#10675: 不再使用jQuery.expando,使用内部的快捷键。

Effects

#10669: .animate() no longer animates percentage(%) width

#10750: A “null” in the data object can cause an error in stop

Event

#10676: wheelDelta not added to mousewheel event anymore

#10701: Problems with submit forms using submit function

#10704: special.handle method should fire under origType name

#10705: off bug event name parser

#10712: Triggering blur with live bind broken

#10717: A triggered load bubbles up to window

#10791: Delegated Events fail on SVG elements

#10794: .triggerHandler should not .preventDefault()

#10798: live(“submit”) and .submit() would cause unobtrusive ajax live to fire twice

#10844: .delegate() on submit doesn’t work when form contains input with name “id”

Manipulation

#10177: index of callback function in .wrap is always 0

#10667: HTML5 Support in .wrapAll() does add a “:” to element

#10670: rnoshimcache probably not constructed correctly

#10812: passing empty object to .before() or .after() throws exception in IE7

Misc

#10691: remove all occurrences of the “equals” and “same” function in the unit tests`

Support

#10629: IE is much too sensitive concerning the fake body. Explore cleaning up support.js to avoid any future crashes.

#10807: Non-ascii apostrophe in comment

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值