-
ASP submit button in new window
I have a form. It lets the user choose a car Make, Model, and Year.
When the submit button is clicked it returns the results.
Problem is I want the submit button to return the results in a new window, not the existing one.
I added target="_blank" to the form id as shown below
<form id="Form1" target="_blank" method="post" runat="server">
this opens a new window, but each time an item is selected. So when you choose a Make it opens a new window and then the same for the Model and year.
How can i get it to only open the new window when the submit button is pressed?
I tried adding the target="_blank" to the asp but it did nothing
<asp:Button id="btnSubmit" target="_blank" runat="server" Text="Find My Vehicle Request"></asp:Button>
Any help is appreciated. I tried it on my own for almost 2 hours
-
-
150 views no ideas? need help ;l
-
-
another 100 views, no answer. Please!!!
-
-
Most of the views may be from bots, or users who don't know the answer.
Honestly, the ASP section of this forum is not very active so you may get an answer faster at a forum that focuses more on ASP. For questions about CSS, JS, PHP, etc., we'll be able to help, though.
It appears to me that the form is actively processing, so you would need to stop that from happening. Of course there may be an alternative to tell ASP to wait, but I don't know what that is. You could also use Javascript to attempt this, but I don't know how it would interact with the ASP.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
thanks for the head up : )
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks