window.showModalDialog & form submit

shameek_k

New Member
Hi All,

I m opening another window from a html file using the following statement: -

window.showModalDialog("newwin.html","","center=yes;dialogHeight=300px;dialogWidth=625px;status=no");

This statement opens another window in which I have given some radio buttons for the user to select. Once the user selects an option, I submit the form. But the problem is that as soon as I submit the form, a new window is opened for the same html file. Instead of refreshing the same window, another window is opened.

Is this something to do with the Modal Dialog window type?

Regards,

Shameek Kothari
 
Top