JQuery 1.5 Released

Tags: JQuery

JQuery 1.5 was released yesterday. I have not had a chance to review all of the new features, but it looks like it has all of the performance improvements like in previous releases. One of the cool new features is the .sub() function. The new Sub function actually creates a copy of the JQuery object that can be modified.

    var sub$ = jQuery.sub();

    sub$.fn.myCustomMethod = function(){
      return 'just for me';

    sub$(document).ready(function() {
      sub$('body').myCustomMethod() // 'just for me'
  typeof jQuery('body').myCustomMethod // undefined

There also many improvements to the Ajax functions. Read up on it at JQuery.com.

Add a Comment

Share This Page


Observation Location: KJAX
Temperature: 44 F (7 C)
Relative Humidity: 89%
Wind: From the NW at 4 MPH
Wind Dir: NW
Wind Degrees: 320
Wind Mph: 4
Wind Gust Mph:
Pressure: 30.17 in (1021 mb)
Dewpoint: 41 F (5 C)
Windchill: 42 F (6 C)
Visibility: 10.0
Location Jacksonville, Florida

My Twitter