> within an iframe on that page?
>
> I don't see any parameters to pass an element or document? i know i
> can get access to the parent frame with jQuery
> ('body',parent.document), but wanted to use blockUI from within the
> iframe, without having a second function in the parent window.
If the parent window includes jQuery and the blockUI plugin then you
can do this in your iframe:
window.parent.$.blockUI();
No comments:
Post a Comment