jQuery 1.1a Released

The jQuery 1.1a has been released today by the jQuery team! Its important to note that this is an alpha version before you go out and install it in a production environment, but the jQuery team asks that people give it a round of testing prior to the release this weekend.

The “Quick and Dirty” on v1.1:

  • Its selectors are 10-20x faster than those in jQuery 1.0.4.
  • The documentation has been completely revamped.
  • The complexity of the API has dropped by 47%.
  • It has a ton of bug fixes.
  • It has a bunch of great new features.
  • … and it’s still the small 19KB that you’ve come to expect.

With this release come a lot of API changes:

Firstly, :nth-child() now starts at 1, instead of 0.

A number of methods have been re-organized/re-named. Here’s the translation of old to new functions:

Old Way (1.0.x) New Way (1.1)
.ancestors() .parents()
.width() .css(”width”)
.height() .css(”height”)
.top() .css(”top”)
.left() .css(”left”)
.position() .css(”position”)
.float() .css(”float”)
.overflow() .css(”overflow”)
.color() .css(”color”)
.background() .css(”background”)
.id() .attr(”id”)
.title() .attr(”title”)
.name() .attr(”name”)
.href() .attr(”href”)
.src() .attr(”src”)
.rel() .attr(”rel”)
.oneblur(fn) .one(”blur”,fn)
.onefocus(fn) .one(”focus”,fn)
.oneload(fn) .one(”load”,fn)
.oneresize(fn) .one(”resize”,fn)
.onescroll(fn) .one(”scroll”,fn)
.oneunload(fn) .one(”unload”,fn)
.oneclick(fn) .one(”click”,fn)
.onedblclick(fn) .one(”dblclick”,fn)
.onemousedown(fn) .one(”mousedown”,fn)
.onemouseup(fn) .one(”mouseup”,fn)
.onemousemove(fn) .one(”mousemove”,fn)
.onemouseover(fn) .one(”mouseover”,fn)
.onemouseout(fn) .one(”mouseout”,fn)
.onechange(fn) .one(”change”,fn)
.onereset(fn) .one(”reset”,fn)
.oneselect(fn) .one(”select”,fn)
.onesubmit(fn) .one(”submit”,fn)
.onekeydown(fn) .one(”keydown”,fn)
.onekeypress(fn) .one(”keypress”,fn)
.onekeyup(fn) .one(”keyup”,fn)
.oneerror(fn) .one(”error”,fn)
.unblur(fn) .unbind(”blur”,fn)
.unfocus(fn) .unbind(”focus”,fn)
.unload(fn) .unbind(”load”,fn)
.unresize(fn) .unbind(”resize”,fn)
.unscroll(fn) .unbind(”scroll”,fn)
.ununload(fn) .unbind(”unload”,fn)
.unclick(fn) .unbind(”click”,fn)
.undblclick(fn) .unbind(”dblclick”,fn)
.unmousedown(fn) .unbind(”mousedown”,fn)
.unmouseup(fn) .unbind(”mouseup”,fn)
.unmousemove(fn) .unbind(”mousemove”,fn)
.unmouseover(fn) .unbind(”mouseover”,fn)
.unmouseout(fn) .unbind(”mouseout”,fn)
.unchange(fn) .unbind(”change”,fn)
.unreset(fn) .unbind(”reset”,fn)
.unselect(fn) .unbind(”select”,fn)
.unsubmit(fn) .unbind(”submit”,fn)
.unkeydown(fn) .unbind(”keydown”,fn)
.unkeypress(fn) .unbind(”keypress”,fn)
.unkeyup(fn) .unbind(”keyup”,fn)
.unerror(fn) .unbind(”error”,fn)

What’s more? Well, the jQuery team will be posting throughout the week on all the cool new things you can do with jQuery 1.1. I’m looking forward to seeing the changes! Oh, with regards to changes, its important to note with that list of functions above…the old method will no longer work come v1.1. To keep those functions in use, a ‘helper’ library will need to be used…chances are that won’t be available until the 1.1 final.

Discuss This Article


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comment Preview:

 (1761) - jquery change id (73) - jquery set position (36) - jquery (20) - jquery unfocus (19) - jquery attr (14) - jquery mouseover (13) - jquery attr href (11) - jquery position (9) - jquery left (9) - jquery change position (9) - change id jquery (9) - jquery scroll position (9) - jquery id change (8) - jquery scroll overflow (8) - jquery set top left (8) - jquery attr src (8) - attr jquery (8) - jquery href (8) - jQuery get position (8) - jquery set href (7) - jquery change CSS (7) - jquery unblur (7) - jquery scroller (7) - jquery unmousemove (7) - jquery attr name (6) - jquery set css (6) - jquery left position (6) - jquery change href (6) - jquery position left (6) - jquery change width (5) - unfocus jquery (5) - jquery attr id (5) - jQuery css attr (5) - jquery onmouseover (5) - jquery css float (5) - jquery href attr (4) - jquery position top left (4) - jquery change background (4) - jquery css change (4) - jquery how to set position (4) - jquery set id (4) - jquery set left (4) - jquery position top (4) - jquery onKeyPress (4) - change css jquery (4) - unmousemove (4) - jquery unclick (4) - jquery attr("id") (3) - jquery change height (3) - jquery scrollbar color (3) - jquery get scroll position (3) - how to set top in jquery (3) - jquery unbind focus (3) - how to set left in jquery (3) - jquery get top left (3) - jquery set top position (3) - jquery Scroll to top (3) - jquery attr width (3) - jquery change left (3) - JQuery background (3) - jquery change color (3) - attr name jquery (3) - jquery set-position (3) - jquery set title (3) - jquery change the id (3) - jquery attr css (3) - jquery scroll mouseover (3) - attr href jquery (3) - jQuery set top (3) - jquery attr background (3) - blur jquery (3) - jquery .left (3) - jQuery attr('id') (3) - jquery mouse scroll (3) - select on mouse over jquery (3) - jquery one (3) - jquery attr top (3) - jquery top left position (3) - background jquery attr (2) - jquery mouseover scrollbar (2) - jquery, attr, background (2) - jquery attr top left (2) - jquery click position (2) - .attr jquery (2) - jquery mouseover float (2) - set href value in jquery (2) - jquery position left set (2) - jquery change color on select (2) - jquery set position top (2) - jquery set ahref (2) - set position jquery (2) - jquery ie6 attr href (2) - jquery change name (2) - jquery attr onkeypress (2) - jquery onmouseover scroll (2) - jquery position left top (2) - jquery attr color (2) - jquery mouseover title (2) - jquery left top position (2) - jquery get left position (2) - jquery change css background color (2) - set Top jquery (2) - jquery set top and left (2) - get position jquery (2) - change position jquery (2) - jquery change left position (2) - jquery set position top left (2) - jquery get left top (2) - jquery unbind (2) - jquery set left position (2) - unmousemove jquery (2) - jquery css position (2) - jquery attr rel (2) - jquery mouseover background (2) - jquery scroll on mouseover (2) - jquery unbind mouseover (2) - jquery scrollbar (2) - jquery change css background (2) - jquery mouseover scroll (2) - jquery .one (2) - jquery unkeyup (2) - unblur jquery (2) - jquery change src (2) - position with jquery (2) - jquery change css height (2) - jquery css overflow (2) - change css with jquery (2) - jquery a href change title (1) - jquery a href change name (1) - jQuery get left (1) - change child attr css jquery (1) - jquery click keypress (1) - jquery change css focus (1) - jquery how to set position top (1) -  (1) - jquery set (1) - jquery .one ("submit (1) - jquery change bg on focus (1) - jquery attr title (1) - jquery background change on mouseover (1) - jquery get the position of a href on mouseover (1) - href attr jquery (1) - chane attr id in jquery (1) - attr background jquery (1) - jquery unbind ie (1) - jquery top left (1) - jquery scroll onmouseover (1) - bg position jquery (1) - jquery position changer (1) -