[jQuery] Re: jqModal - How to access the iframe from the parent

2008-07-02 Thread Hypolite
27;).contents().find('input').click(function() { $('#div_modal').jqmHide(); //The button inside the iframe must close the modal box in the parent }) }); The documentation says that "contents()" return the HTML document when called on an , but it returns always &q

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

2008-07-01 Thread Hypolite
document element with : parent.top.document But most of the calls of custom Javascript functions don't need the document element. So the calls would look like this : parent.top.foobar() Thanks for the clue, tlphipps ! Hypolite -- View this message in context: http://www

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

2008-06-30 Thread Hypolite
uld I make some nasty work with replacing innerHtml by itself ? Hypolite -- View this message in context: http://www.nabble.com/jqModal---How-to-close-the-modal-box-from-an-iframe-tp18183904s27240p18198953.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

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

2008-06-29 Thread Hypolite
nfirmation) back after the submission of the form. But I can't manage to close the modal dialog with a button or link inside the . How do I do that ? If it's possible and rather simple, how can I rid off the iframe ? Thanks Hypolite -- View this message in context: http://www.nabble.