473,394 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

submit the form and open new window problem

Joe
In the following code, page1.asp is inside the frame of main.html.
When the user click submit button in page1.asp, it will submit the for
and open a new window called page2.asp. When the user clicks submit
button on page2.asp, I expected to open a new window called page3.asp
Unfortunately, it just open page3.asp in the same window as page2.asp, an
now page2.asp is gone.

However, if I just open page1.asp, and begins from there, it is fine
I think this is because page1.asp is put inside the frame.

========= main.html =====================
<frameset><frame src="page1.asp"></frameset

================== page1.asp =============

<form action="page2.asp" target="_blank"

================== page2.asp =============

<form action="page3.asp" target="_blank"

Any workarounds?? Thanks!

Jul 19 '05 #1
1 3224
Check the browser setting, maybe "reuse windows for launching shortcuts"...
not something you can control from ASP (and really isn't even an ASP issue
at all, I bet you can reproduce with simple HTML files).

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Joe" <an*******@discussions.microsoft.com> wrote in message
news:48**********************************@microsof t.com...
In the following code, page1.asp is inside the frame of main.html.
When the user click submit button in page1.asp, it will submit the form
and open a new window called page2.asp. When the user clicks submit
button on page2.asp, I expected to open a new window called page3.asp.
Unfortunately, it just open page3.asp in the same window as page2.asp, and
now page2.asp is gone.

However, if I just open page1.asp, and begins from there, it is fine.
I think this is because page1.asp is put inside the frame.

========= main.html ======================
<frameset><frame src="page1.asp"></frameset>

================== page1.asp ==============

<form action="page2.asp" target="_blank">

================== page2.asp ==============

<form action="page3.asp" target="_blank">
Any workarounds?? Thanks!!

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ben | last post by:
Hi there, in a form, here's what I want to do : <input type=button onclick= (???) is it possible to open a pop-up window with a specified url without using javascript ? Thanks
7
by: Rui Pestana | last post by:
Hello all, I want to use the POST method to submit the form and then grab the parameters in the asp file with request.form("parm"). The problem is that I am using the _search target to open...
1
by: Matt | last post by:
My problem is when the user click the submit button, it will launch another new window for the request page. I want to confirm we cannot use JavaScript open window functions to open a request page?...
1
by: Matt | last post by:
The following program submit a FORM DATA to a new window using HTTP POST, and postprocess.asp couldn't get the form data. If I do in GET method and pass by query string in windowURL, then it...
2
by: Terence Parker | last post by:
How does one go about submitting a form with a link - but submitting it to a new window AND to a page different to that described within the action="" option of the <form> tag? Say, for example,...
3
by: Martin Nadoll | last post by:
Hello i have a form, where my users can choose a postal code and a city to see a table result page with only entries of their choice. this results have to be shown in a new window : var...
1
by: Andy Kasotia | last post by:
I have an ASP UI with VB Dll as a COM object that access the DB2 Database. I have a "Calculate" button on the ASP Page which when clicked does form validation (javascript) and submits the form...
1
by: AndrewWithy | last post by:
We have an aspx page that is submitting a form that redirects to a 3rd party website to take a payment from the customer. We have had 19 instances over a 3 day period where the user never made it...
4
by: Tina I | last post by:
Hi, Is there a way to submit a form and then open the resulting page in the default browser? (Writing the form submission code is not a problem by the way) I guess what I'm asking is how I can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.