Hi,
Maybe this is not really ASP specific, but I would like some advise,
if any.
I launched a modal popup window with code like:
<script language=3D"javascript">
function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("MyPage1.asp","MyPopup",
"dialogWidth:500px;dialogHeight:400px");
} else {
window.open('MyPage1.asp,'MyPopup',
'height=3D400,width=3D500,toolbar=3Dno,directories=3Dno,stat us=3Dno,menubar=
=3Dno,scroll=AD
bars=3Dno,resizable=3Dno ,modal=3Dyes');
}
}
</script>
so can see that the popup window name is MyPopup, with MyPage1.asp
In MyPage1.asp, I got FORM statement to post
<form method=3D"POST" action=3D"MyPage2.asp" onsubmit=3D"return
confirmStart()" id=3D"submitform" name=3D"sform" target=3D"_self">
I have tried with target=3D"_self" or target=3D"MyPopup" in the FORM tag,
but still it
will open another new popup window. Why?
Since I already have MyPopup windows, for any FORM post, I want it to
be at the same window.
Meaning that the popup window name is STILL be the same MyPopup, but
with
MyPage2.asp
Can you help ?
Magix
