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

open blank page with drop down menu

Status
Not open for further replies.

cic

Technical User
Apr 12, 2001
28
US
I have created a drop down menu where you select a topic and specific topics are inserted into another drop down menu. Then you hit submit and it pulls up a pdf page. My question is how do I go about opening the pdf page in another window. In html you usually use "target=blank" but I am not sure how to do this with asp. Can someone help me out.

thanks
 
U submit to an asp page like this

Code:
<%
pdffile=Request(&quot;yourhtmlvariable&quot;)
%>
<html>
<script language=&quot;javascript&quot;>
document.location=&quot;<%=pdffile%>&quot;
</script>
</html>

Request(&quot;yourhtmlvariable&quot;) is the file submited by your html
This should help you. ________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top