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

easy question: how can i add this to "href" 1

Status
Not open for further replies.

eramgarden

Programmer
Aug 27, 2003
279
US

I have this in VB:

<a href=&quot; & &quot;./selectsurvey.asp?c=&quot; & callID & &quot;&i=&quot; & incidID & &quot;>

I'm putting this in ASP and have this:
<a href=&quot;./selectsurvey.asp?c=&quot; <%callerid%> & &quot;&i=&quot; <%incid_id%>>Return</a>

but when i try to look at the page in design view, i get an error to put quotes around <% %>

what am i missing???

 
<a href=&quot; & &quot;./selectsurvey.asp?c=&quot; & callID & &quot;&i=&quot; & incidID & &quot;>

response.write &quot;<a href='./selectsurvey.asp?c=&quot; & callID & &quot;&i=&quot; & incidID &&quot;'>My Link</a>&quot;

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
Nope, that wont do it...i need the value of callid and incidid passed when I click &quot;My Link&quot;...

If i make it like this:

response.write &quot;<a href='./selectsurvey.asp?c=&quot; & <%callID %> & &quot;&i=&quot; & <%incidID %>&&quot;'>My Link</a>&quot;


Then I can see the values when I debug but i cant look at the page in design mode...

any other ideas??
 
Have you tried:

<a href='./selectsurvey.asp?c=<%=callID%>i=<%=incidID%>'>My Link</a>


Dan
 
Sorry, I forgot the &!

<a href='./selectsurvey.asp?c=<%=callID%>&i=<%=incidID%>'>My Link</a>


Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top