Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I pass variables from a form to a new window?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

We have a form which submits 6 hidden variables to another URL. Right now the new URL opens up in the same browser window. The code looks somethin like this...

<form name=&quot;MyName&quot; method=&quot;POST&quot; action=&quot;URL&quot;>
<input type=&quot;hidden&quot; name=&quot;MyVariable&quot; value=&quot;<%=&quot;MyValue&quot;) %>&quot;>
</form>

My question is, how can I make this form display the results in a new window instead of the same window. And for that to happen I should be able to pass these hidden variables to the new window along with the URL.
Can anyone show me how its done?
Thanks!
 
read the faqs - there is one on this subject
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top