HTML Form

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
magix8 [ Mi, 23 Januar 2008 04:44 ] [ ID #1914650 ]
Webserver » microsoft.public.inetserver.asp.general » HTML Form

Vorheriges Thema: I forgot, help please
Nächstes Thema: validate user and go to ok page adsi ldap