How to forward a ModalDialog to a new url
Last few days I was fighting with Modal Dialog ( opened with the method showModalDialog ) to forward to a new page with out opening a new window.The usual
document.location.href = newurl;
works but opens in a new window. Then I got a simple solution. window.name = "somename"
well this works very fine. It opens the new url in a wondow with the name "somename". Since that is our modal dialog is "somename" destination url opens in this modal dialog.
window.open(newurl, window.name)
Hi Thejesh,
I am trying to open a window without addressbar,toolbar and status bar.If you are using window.open(),then the parent window must be closed without any warning in IE and Firefox browsers.Can u help me?Thanks