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

variable into link

Status
Not open for further replies.
yeah, that's how you do it.



*cLFlaVA
----------------------------
spinning-dollar-sign.gif
headbang.gif
spinning-dollar-sign.gif

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
ahh I got it
Code:
  var A= <% = request.querystring("id") %>
  var url = '[URL unfurl="true"]http://daviesintranet/aqpc/wb/view1.asp?id='[/URL] + escape(A);
this puts an asp variable into a javascript link

Thanks clFlaVA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top