IIS ASP - Response.write statement to handle href

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > December 2004 > Response.write statement to handle href





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Response.write statement to handle href
Jack

2004-12-27, 2:47 am

Hi,
I need to write a reponse.write statement of the following:
<A HREF="default.htm">Click Here to try again</A>
However, I am not clear about the syntax to handle this. I appreciate any
help.
Thanks.
Tim Williams

2004-12-27, 2:47 am

You don't say what language you're using for ASP, so vbscript would be

response.write "<A HREF=""default.htm"">Click Here to try again</A>"

but since this just appears to be static text you could just take it
out of the code block

%>
<A HREF="default.htm">Click Here to try again</A>
<%


tim



"Jack" <Jack@discussions.microsoft.com> wrote in message
news:BCF4B2E2-79E7-4A78-B6FF-53F0C3258F8A@microsoft.com...
> Hi,
> I need to write a reponse.write statement of the following:
> <A HREF="default.htm">Click Here to try again</A>
> However, I am not clear about the syntax to handle this. I
> appreciate any
> help.
> Thanks.



Jack

2004-12-27, 5:49 pm

Tim,
Thanks for your help. Regards.

"Tim Williams" wrote:

> You don't say what language you're using for ASP, so vbscript would be
>
> response.write "<A HREF=""default.htm"">Click Here to try again</A>"
>
> but since this just appears to be static text you could just take it
> out of the code block
>
> %>
> <A HREF="default.htm">Click Here to try again</A>
> <%
>
>
> tim
>
>
>
> "Jack" <Jack@discussions.microsoft.com> wrote in message
> news:BCF4B2E2-79E7-4A78-B6FF-53F0C3258F8A@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com