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

Inserting URL variable into a script 1

Status
Not open for further replies.

kamirazvan

Programmer
Feb 26, 2000
7
US
I have the following script:<br><br>&lt;script src=&quot;<A HREF=" TARGET="_new"> need to be able to change the number 5 with a variable that is passed from the URL such as:<br><br><A HREF=" TARGET="_new"> have tried various methods such as Request.Querystring but with no success.&nbsp;&nbsp;I am more used to VBScript & ASP and not Javascript- Can anyone help?
 
Have you thought of using a java servlet. The web page is built dynamically by the server and return by the browser, this will allow you to change contents based on criteria.<br> <p>Cal<br><a href=mailto: > </a><br><a href= > </a><br> Nobody told me that the price of shares could fall... :-(
 
No not really- since I am not that familiar with Java.&nbsp;&nbsp;I am using a service by a company and for everyitem I need to pass the above parameter.&nbsp;&nbsp;I know how to take parameters and insert it into an asp page using &lt;% =Request.Querystring%&gt; but with Java I can't.<br><br>Is there an easy command to use?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top