[jQuery] Re: how to blockUI for whole document from iframe
don't use it inside the iframe... balavignesh wrote: Hello friends, While using ajax , i am blocking the UI part using the following jquery , $(document).ajaxStart(function(){ $().blockUI({message: ''})}). ajaxStop($.unblockUI); I am using this inside the iframe. So, while ajax request , the iframe document only blocked. But i want to block the whole document. Please suggest some idea. Thanks & Regards, Balavignesh
[jQuery] Re: how to blockUI for whole document from iframe
> I am using this inside the iframe. So, while ajax request , > the iframe document only blocked. > But i want to block the whole document. > > Please suggest some idea. Are jQuery and blockUI loaded in the parent document? If so, you can do this: window.parent.$.blockUI();
[jQuery] Re: how to blockUI for whole document from iframe
On 18 Nov, 16:50, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Are jQuery and blockUI loaded in the parent document? If so, you can > do this: > > window.parent.$.blockUI(); Jquery & blockUI loaded on iframe . Actually i am working on inside iframe only. I dont have the rights to change the parent document.
[jQuery] Re: how to blockUI for whole document from iframe
> Jquery & blockUI loaded on iframe . Actually i am working > on inside iframe only. > I dont have the rights to change the parent document. You're stuck then. If you don't control the parent doc then you cannot block it.