why is this .on("click") Event only working on Firefox but not on IE / Chrome / Safari ? The Content .superbox-img is generated dynamically.
$(document).ready(function () {
$('#4').on("click", ".superbox-img", function(){
var x = $(this).attr('data-med');
document.getElementById("5").style='display:inline-block;width:100%;';
document.getElementById("KampagenenImg").src=x;
});
});