jquery's live() is deprecated. What do I use now?

Solution 1:

$(document).on('event', 'selector', function() {}); replaces .live().

$('selector').on('event', 'selector', function() {}); replaces .delegate().

$('selector').on('event', function() {}); replaces .bind().

Solution 2:

Of course:

http://api.jquery.com/on/

http://api.jquery.com/off/

The page for live() shows how to convert to on():

http://api.jquery.com/live/