jQuery click in dynamic items

Reading time: less than 1 minute

jQuery click in dynamic items

$('body').on('click', 'a.myclass', function() {
    // do something
});