I change some methods from $(selector).live('click', function(){}); to $(selector).on('click', function(){}); .
At first it seems to work exactly the same. But when I insert new html on the DOM, the new elements inserted with the same selector, they aren't catch by $(selector).on('click', function(){}); and before they were catch by the live() method.
why? I'm missing something?