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:


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

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

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