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

Creating hyperlink within an object

Status
Not open for further replies.

johnv20

Programmer
Joined
Sep 26, 2001
Messages
292
Location
US
Hi,
I have a table (out) populated by

out +=
String(rs.fields.item("Name")) +
&quot;</td><td>&quot;;

however I want to add a hyperlink from each name entered in the table somewhat like
<a href=&quot;<% pass %>?name=<% Name %>&quot;>

how do I add this to each name in the table ?
 
Not too sure if I understand what you want here, but try this;(assume you're using serverside jscript/javascript?)

Code:
out += &quot;<td><a href='&quot; + pass + &quot;?name=&quot; + String(rs.fields.item(&quot;Name&quot;)) + &quot;'&quot;>&quot; + String(rs.fields.item(&quot;Name&quot;)) + &quot;</a></td>&quot;;

that'll give you a link for each Name with the parameter &quot;name=&quot;+name appended.

Is that what you wanted?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top