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

Wrong code in a href ?

Status
Not open for further replies.

leifoet

Technical User
Jan 31, 2016
203
0
0
BE
Code:
application("addressLink")
is created in a subprogram (ASP)
and contains the following existing (variable) address : report/221.pdf (or report/222.pdf ...)

In the main program (ASP)
Code:
<a href="application("addresslink")">ABCDE</a>

shows the contents of the address link : report/221.pdf
and not ABCDE (which calls the contents of the address link)

Thanks for tips.
 
In the meantime I tried this code:

Code:
<a href='<%application("adresslink")%>'>ABCDE</a>

ABCDE is now shown as a link, but this link (ABCDE) is not responding (yet).

Tips for a solution?


Searched further and solved with this code.
Code:
<a href='<%=application("adresslink")%>'>ABCDE</a>

Sorry for the question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top