I searched on web but I didn\'t find any answer since this \"problem\" is not the usual one about the difference between .on() and .click().
With jquery 2.1.3 the click func
The answer is if you added data dynamically, then you must use .on function. With this code, you can use event delegation concept by using the code that you mention at last. Since the DOM are not registered yet, the .click handler cant capture the new DOM element.