javascript & asp

Results 1 to 2 of 2

Thread: javascript & asp

  1. #1
    Join Date
    Dec 1969

    Default javascript & asp

    I have a problem using javascript and asp. I am sending the javascript to the browser using Response.Write "..." but because some of the javascript contains double quotes "" the asp reads this as the end of the Response.Write statement. Any ideas?

  2. #2
    Sven Cipido Guest

    Default RE: javascript & asp

    Hi,<BR><BR>You can use &#039; instead of " for the part within your response.write. <BR><BR>response.write("&#060;Script language=&#039;javascript&#039;&#062;"). <BR><BR>This will work.<BR><BR>Or use "" this will also work<BR><BR>response.write("&#060;Script language=""javascript""&#062;").

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts