Okay so if this was to do with a click event i would know to do something like ...
$('body').on('click','.element',function(){
....do something
});
But the code i have here is:
$('.checkout .popbtn').popover({
trigger: 'manual',
html: true,
container: 'body',
placement: 'bottom',
animation: false,
content: function(){
return $('#popover').html();
}
});
.popbtn is the dynamically generated element.
How can i get around this?
Thanks