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 (48) - jquery set position (20) - jquery (18) - jquery unfocus (15) - jquery mouseover (10) - change id jquery (8) - jquery id change (8) - jquery href (8) - jquery attr href (8) - jquery attr (8) - jquery scroll position (8) - jquery attr src (7) - jquery change position (7) - jquery attr name (6) - jquery left (6) - attr jquery (6) - jQuery get position (6) - jquery position left (6) - jquery change CSS (5) - jquery set css (5) - jquery change width (5) - jQuery css attr (5) - jquery change href (5) - unmousemove (4) - jquery change background (4) - jquery css float (4) - jquery css change (4) - jquery set href (4) - jquery onKeyPress (4) - jquery unblur (4) - unfocus jquery (4) - jquery attr background (3) - jquery href attr (3) - jquery position (3) - jquery set top left (3) - JQuery background (3) - attr name jquery (3) - jquery change left (3) - jquery change height (3) - jquery position top left (3) - jquery change color (3) - jquery unbind focus (3) - change css jquery (3) - select on mouse over jquery (3) - jquery attr css (3) - jquery unclick (2) - jquery attr color (2) - jquery, attr, background (2) - jquery set ahref (2) - jquery one (2) - jquery css position (2) - blur jquery (2) - jquery set id (2) - jquery top left position (2) - jquery attr width (2) - jquery set left (2) - jquery set top position (2) - jquery change color on select (2) - jquery unkeyup (2) - jquery .left (2) - jquery position left set (2) - jquery change the id (2) - jquery change left position (2) - jquery .one (2) - jquery get left position (2) - jquery click position (2) - jquery unmousemove (2) - change css with jquery (2) - jquery position left top (2) - jquery attr rel (2) - jquery set title (2) - jquery scroll overflow (2) - jquery left top position (2) - jquery change css height (2) - jquery Scroll to top (2) - position with jquery (2) - attr href jquery (2) - jquery change css background (2) - jQuery attr('id') (2) - change position jquery (2) - jquery attr onkeypress (2) - jquery attr id (2) - jquery position top (2) - get position jquery (2) - set top in jQuery (1) - change css background with jquery (1) - setting top and left with jquery (1) - jquery setting position (1) - jquery floating background (1) - css unbind mouse (1) - jQuery change background color (1) - totop & jquery (1) - JQuery .css("left (1) - jquery 1.1.3 set scrollbar (1) - onemouseover change colour (1) - attr en jquery (1) - jquery attr, color (1) - change scroll jquery (1) - change scroll javascript jquery (1) - jquery chang width (1) - change position o css jquery (1) - jquery - attr("href") (1) - jquery attr href ie6 (1) - jquery scroll bar color (1) - jquery mouse over scroll (1) - jquery mouseover title (1) - jquery, change position (1) - jquery 1.1 scroll (1) - jquery scroll mouse over (1) - jquery position select (1) - jquery, change css (1) - jquery 1.1 css overflow (1) - change title jquery (1) - change color focus jquery (1) - href jquery set (1) - unload ajax jquery (1) - jquery left top (1) - jquery mouseover background color (1) - jquery set position top left (1) - jquery css.(background (1) - jquery how to set position (1) - jquery .css({background (1) - set position jquery (1) - on mouse over jquery css (1) - jquery mouseover ie6 (1) - jquery click change color (1) - attr('click jquery (1) - jquery position set (1) - jquery mouse move change color (1) - jquery unbind("change") (1) - jquery mouse over position (1) - jquery set color css (1) - jquery documentation unclick (1) - jquery change a href (1) - attr("href").submit() jquery (1) - jquery mouseover which id (1) - jquery unbind submit ie (1) - jquery how to set position top (1) - attr (1) - jquery scroll focus (1) - set top position jquery (1) - jquery attr('name (1) - set top and left jquery (1) - jquery scroll mousedown (1) - jquery scroll keydown (1) - jquery change keypress value (1) - jquery css position values (1) - jquery position.left (1) - jquery onmouseover blur (1) -