on page fully loaded jquery code example
Example: on page fully loaded jquery
$(window).load(function () {
....
});
If you have to wait for an iframe (and do not care about the assets, just the
DOM) - try this:
$(document).ready(function() {
$('iframe').load(function() {
// do something
});
});