471,887 Members | 980 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

HTML Form post to popup-window


I launched a modal popup window with code like:
<script language="javascript">
function modalWin() {
if (window.showModalDialog) {
} else {
'height=400,width=500,toolbar=no,directories=no,st atus=no,menubar=no,scrollbars=no,resizable=no ,modal=yes');

so can see that the popup window name is MyPopup, with MyPage1.asp

In MyPage1.asp, I got FORM statement to post

<form method="POST" action="MyPage2.asp" onsubmit="return
confirmStart()" id="submitform" name="sform" target="_self">

I have tried with Target="_self" or target="MyPopup", 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, with

Can you help ?


Jan 23 '08 #1
0 4550

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Alexander Widera | last post: by
18 posts views Thread by Colin McGuire | last post: by
15 posts views Thread by Kevin Davis | last post: by
5 posts views Thread by Thelma Roslyn Lubkin | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.