This plugin provides methods to get references to the host iframe element from within the iframe,
and to get a window/document reference for a specified iframe.
Usage
jQuery.fn.hostIframe()
From a document within an iframe, you can get a jQuery object containing the iframe:
This may be useful if you want information about the iframe, e.g. the dimensions:
jQuery.fn.iframeDocument()
You can get a reference from the iframe element to the document inside it:
jQuery.fn.iframeWindow()
You can get a reference from the iframe element to the window inside it: