103
rated 0 times
[
109]
[
6]
/ answers: 1 / hits: 36799
/ 14 Years ago, wed, january 5, 2011, 12:00:00
Why is the following not working:
//iframe:
window.parent.$(document).trigger('complete');
//parent window:
$(document).bind('complete', function(){
alert('Complete');
});
while the following IS working:
//iframe:
window.parent.$('body').trigger('complete');
//parent window:
$('body').bind('complete', function(){
alert('Complete');
});
?
More From » jquery