New jQuery Plugin - $.frameReady()

Posted by daemach on April 16, 2007

frameReady lets you run jQuery commands in a target frame as if it were in the local document. It works much like the $(document).ready() function, waiting until the DOM is ready in the target frame before attempting to run your code. It will also load jQuery in the target frame for you if it doesn’t already exist and allows you to load other script files and stylesheets easily. frameReady supports nested frames and iframes in any combination, even dynamically created frames.

Usage: $.frameReady(function (Function) , target (String) [, options (Object) ]) Continue reading…