Perhaps not, considering jQuery.ready() isn't meant to be triggered when an
underlying iframe added on-the-fly after the page completed is loaded.
You may be interested in investigating iframe's "load" event instead.
Michel Belleville
2009/11/12 Jack Bates
> I want to register a function to ru
I want to register a function to run when an iframe finishes loading,
or immediately if it's already loaded
To achieve this, I tried,
$(function ()
{
var iframe = $('').appendTo('body')[0];
$(function ()
{
$('READY!').appendTo('body');
}, iframe.contentDocument);
}
2 matches
Mail list logo