[jQuery] Re: jqModal - How to close the modal box from an iframe

2008-07-01 Thread Hypolite
tlphipps wrote: Based on my experiences with thickbox, I don't believe this is true. I have code in thickbox iframes which will close the thickbox window whenever I call it. I use something like: document.top.tb_remove() (can't remember exact syntax) Ok, starting from your suggestion

[jQuery] Re: jqModal - How to close the modal box from an iframe

2008-06-30 Thread Brice Burgess
On Jun 29, 1:32 pm, Hypolite [EMAIL PROTECTED] wrote: I have a jqModal div which contains an iframe with a form inside. The iframe allows me to show messages (error messages and success confirmation) back after the submission of the form. But I can't manage to close the modal dialog with a

[jQuery] Re: jqModal - How to close the modal box from an iframe

2008-06-30 Thread Hypolite
Brice Burgess wrote: Someone correct me if I am wrong, but I believe that scripts executing within iframes have their own global scope (are isolated or sandboxed)... and thus they may only access elements/etc. within the DOM of the iframe itself. Thanks for the answer, as far as I know,