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

Taking querystring or request.form from a HTM Page

Status
Not open for further replies.

zuza

Programmer
Nov 9, 2003
54
YU
Hi all,

I'm facing a problem I have htm page that somebody else has made it but there's text box there for instance called DSNo & button as well 'GO'. I have to run an ASP page that will take from this text box what the user will write and pass it to my ASP page (as pop-up new page) that is called : or as popup and to join the search field
onclick="hape('WHERE DSNo here is the text field that has to be passed to the asp page - intake_st.asp.

Rgds.
ZuZa
 
Guess I can use this for something.
For your button:
Code:
<input type="button" Name="btnGo" Value="Go" OnClick="OpenWindow()">
Code:
<script language="vbscript">
Sub OpenWindow()
    DSNo = yourFormName.txtDSNo.Value 
    strOptions = "toolbar=No, location=no, directories=no, "
    strOptions = strOptions & "status=no, menubar=no, scrollbars=yes, "
    strOptions = strOptions & "resizable=no, width=650, height=350"
    Window.Open "intake_st.asp?ClaimNo=" & DSno, _
                "myNewWindow", strOptions
End Sub
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top