I have a simple code snippet
$('.box_tile_image').live('click', function() {
console.log('click');
});
The problem is I want to use on() as live() is deprecated, however if I use on in the case above – I do not get “click“, while if I replace on with live it works like a breeze.
What can be the problem?
the main selector should be on a WRAPPER ELEMENT