I have some dynamically generated content that contains some links on an ajax call success. The links are generated like this.
$('#mySomething').append('<a href = "' + url + '" target = "_blank" class = "myclickclass">' + Name + '</a>');
I tried
$('a.myclickclass').click(),
$('.myclickclass').click(),
$('.myclickclass').on('click', 'a', function({})),
and even
$(document).on('click', '.myclickclass a', function (e) {} );
But nothing seems to happen. The new tab is opened, but the event is ignored.