View Full Version : Refresh Opened showModalDialog window

10-29-2006, 04:59 AM
Hi all,

I would like to know how to refresh a Opened showModalDialog window.

I used ...

foo = window.showModalDialog('FULL_path_to_script.php', window);
window.self.location.reload(true); ... but what I get is a New showModalDialog opening, but NOT into the same window, namely, what I get is the effect of a HTML "_blank" opening a new showModalDialog.

I used window.location.reload(true) with the same result

Any help is welcome. Thank you very much in advance.


10-29-2006, 10:35 AM
for one try not naming your ModalDialog 'window'.
bad joojoo...

and if all fails, close the dialog and reopen it instead of refreshing it.

10-29-2006, 12:10 PM
No problem. I have solved this issue with AJAX.

Thank you for your reply. I take note about the window issue for future cases.