Here is the old HTML button to link to my newoffer.asp page, sending a piece of information:
<FORM action="newoffer.asp" method=POST id=form1 name=form1>
<INPUT type="Submit" value="Respond" id=submit1 name=submit1>
<INPUT type="text" id=txtAdID name=txtAdID value="4" class="textboxHidden">
</FORM>
This button, when clicked, would send the information "4" 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 "4"? Here is the JScript I'm using right now:
myWin= open("newoffer.asp", "New Offer", "width=400,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes"
How would I pass in information readable from server-side VBScript on newoffer.asp? [sig][/sig]
<FORM action="newoffer.asp" method=POST id=form1 name=form1>
<INPUT type="Submit" value="Respond" id=submit1 name=submit1>
<INPUT type="text" id=txtAdID name=txtAdID value="4" class="textboxHidden">
</FORM>
This button, when clicked, would send the information "4" 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 "4"? Here is the JScript I'm using right now:
myWin= open("newoffer.asp", "New Offer", "width=400,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes"
How would I pass in information readable from server-side VBScript on newoffer.asp? [sig][/sig]