Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Link to a displayed Text

Posted on 2000-03-29
1
Medium Priority
?
153 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

916 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