[Javascript] Apostrophise in JavaScript Functions (ASP created)

Nancy Burton-Vulovic nvulovic at altamira.com
Tue Jul 3 08:06:52 CDT 2001


Apostrophise in JavaScript Functions (ASP created)Can you use a backslash or some other character to indicate a literal (ie replace any ' with \' ) as one does in Perl?

N

  Below is some HTML code, notice the 3rd passed parameter when calling the onClick and it contains a text string ... With an apostrophise I need to keep the apostrophise visually but lose it to code - what did people come up with ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010703/4c4ae43a/attachment.htm>


More information about the Javascript mailing list