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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending information to new window made w/JScript (form info?)

Status
Not open for further replies.

BeanDog

Programmer
Joined
Jul 15, 2000
Messages
60
Location
US
Here is the old HTML button to link to my newoffer.asp page, sending a piece of information:

<FORM action=&quot;newoffer.asp&quot; method=POST id=form1 name=form1>
<INPUT type=&quot;Submit&quot; value=&quot;Respond&quot; id=submit1 name=submit1>
<INPUT type=&quot;text&quot; id=txtAdID name=txtAdID value=&quot;4&quot; class=&quot;textboxHidden&quot;>
</FORM>

This button, when clicked, would send the information &quot;4&quot; to the next page. JScript is what I will be using for my new way of doing this. I want to make the same effect, but while opening a new window to display newoffer.asp. The problem I have is, how to I pass in the information &quot;4&quot;? Here is the JScript I'm using right now:

myWin= open(&quot;newoffer.asp&quot;, &quot;New Offer&quot;, &quot;width=400,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes&quot;);

How would I pass in information readable from server-side VBScript on newoffer.asp? [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top