I'm trying fade in a div after an iframe has loaded. The iframe is being called after the window has loaded.
I can load the iframe fine but I can't figure out how to make the div fadeIn after the load has completed. Thanks ahead for your assistance.
This is what I've tried but the load function following the html isn't happening
$(function() {
$(window).load( function() {
$("#ad").html("<iframe ... </iframe>").load(function(){
$("#ad").fadeIn("normal");
});
});
});