?
Solved

Link to a displayed Text

Posted on 2000-03-29
1
Medium Priority
?
158 Views
Last Modified: 2012-05-04
I have an asp code which internally makes use of VB script. Now using this code I have some output being displayed on a window. My requirement is to make this text visible as a hyperlink so that if some one clicks on the link it has to open corresponding file. For instance, my displayed text could be www.something.com and I need to show this as a hyperlink so that if some one cliks on this it takes me to something.com

0
Comment
Question by:arun_dp
1 Comment
 
LVL 2

Accepted Solution

by:
Tchalkov earned 28 total points
ID: 2668282
try this:

<%@ Language=VBScript %>
<HTML>
<BODY>
<A  HREF = <% Response.Write("http://www.something.com")%> > 
<% Response.Write("www.something.com")%> </A>
</BODY>
</HTML>

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question