|
Posted by magix on January 22, 2008, 10:41 pm
Please log in for more thread options
Hi,
I launched a modal popup window with code like:
<script language="javascript">
function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("MyPage1.asp","MyPopup",
"dialogWidth:500px;dialogHeight:400px");
} else {
window.open('MyPage1.asp,'MyPopup',
'height=400,width=500,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no
,modal=yes');
}
}
</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="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
MyPage2.asp
Can you help ?
Magix
|
| Similar Threads | Posted | | Form post | April 18, 2008, 7:16 pm |
| IE form post oddness | September 13, 2006, 4:14 pm |
| Form POST problem | May 14, 2007, 2:49 am |
| Form POST problem | May 15, 2007, 2:53 am |
| form post never submits - no errors of any kind | September 28, 2004, 5:07 pm |
| [Q] Using the POST Method with HTML Anchor Tags | March 23, 2005, 2:52 pm |
| POST validation | October 6, 2005, 2:45 pm |
| Post Meta World? | September 2, 2005, 3:12 am |
| making use POST method? | February 11, 2006, 7:37 am |
| Text-links using POST ? | September 8, 2006, 1:17 pm |
|