Forums: html in message coding - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

html in message coding Response.Write and Response.Redirect Rate Topic: -----

#1 User is offline   bnphillips 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 35
  • Joined: 11-August 04

Posted 19 October 2017 - 05:12 PM

Asprunner Pro 9.6 (build 27464 x86)

In the - before add and after add event screens, ... to enter messages, the format is as follows:
message="your message here"
message= message & "more of your message here"
You may also use the preformated events: Response.Write "Your message here"

In either case if I wanted to include a hypertext reference for a link in above message code.... ie <a href="http://www.site.com/directory/page.html"> MyLabeltext</a> ......since this html reference is - by itself- ... text that contains double quotes (") already. How would I handle existing quoted text within the link in such a way that link shows up as an underlined clickable link MyLabelText? Also if this can be accomplished?, .... would there be any difference between methods? ie (message= /OR Responce.Write). Samples of this would greatly help me..

thank you advance for your time...

I am also struggling with ..... Response.Redirect "anypage.asp" My confusion is how to use a anchor link and/or absolute ref link. Specifically I would like a redirect to my menu.asp page. I have tried various iterations of ../menu.asp and others to no avail. If any here can give some samples of how to do this - I would greatly appreciate this also.
0

#2 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 15955
  • Joined: 03-February 03

Posted 23 October 2017 - 10:36 PM

In ASP you use an extra double quote to escape a quote:
http://www.plus2net....rial/escape.php
Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked