.bind is not working with dynamic html [closed]

Did you try the delegated version of on() / off() ???

$(document).off('click.link', '.alink');

$(document).on('click.link', '.alink', function(event) {
    event.preventDefault();
    togglelDetails(this);
});

Leave a Comment