PDA

View Full Version : Refresh/Postback Iframe from popup?


christrinder
08-18-2003, 12:48 PM
Hello,

This may actually be better placed in the Javascript section, but I think you guys will have been more likely to have already used what it is I'm trying to do.

I have a page with three Iframes. There is also a small pop-up, modal winow which is triggered by a certain function. What I want to be able to do, is on submitting the form in the modal window, and before it closes itself, I want to refresh the 3 Iframes in the main window. I guess there are a number of questions here;


1). Can I refresh the Iframes, or do I have to refresh their parent page as a whole.

2). Depending on the answer to the above question, how can I target those Iframes, or the whole window.


Many thanks for any help that anybody can give.

regards,
Chris

glenngv
08-19-2003, 04:34 AM
From where is the dialog opened? from the main window or from one of the iframes?

You can pass objects to the dialog. Here's a good reference:

http://www.webreference.com/js/column90/