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)
On Jun 30, 10:29 am, Brice Burgess <[EMAIL PROTECTED]> wrote: > 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 button or link inside the <iframe>. > > 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. > > To get around this, you could include a close button as a child of the > <div> containing the iframe (e.g. <div><a href="#" > class="jqmClose">close</a><iframe .... /></div> ). > > I am, of course, interested in hearing workarounds. > > ~ Brice

