I'm working on converting all the scripts on a site I am working on to use jquery 1.8.2. We've been using the jquery address plugin:

https://github.com/asual/jquery-addr...ery.address.js

It is using $.live() twice on line 670, and I'm wondering if the proper conversion is like this:

Code:
// Old
$(sel ? sel : this).live('click', f).live('submit', function(e) {

//New
$(document).on('click', (sel ? sel : this), f).on('submit', (sel ? sel : this), function(e) {