Today jQuery 1.7 came out. Be sure to update your Event API’s if you use
.off. The new
.off() APIs unify all the ways of attaching events to a document in jQuery. This is a big but good change. The new API’s are much faster too.
.on() and .off() example
$(elements).on( events [, selector] [, data] , handler ); $(elements).off( [events] [, selector] [, handler] );