Quiz and Javascript
Pickering, John (NORBORD)
PICKERIJ@norbord.com
Mon, 29 Oct 2001 16:51:35 -0500
Jim
Use single quotes on the outside of the string.
As in:
define java char*100 = 'doc.write("Cl...");'
Regards,
JWP
> -----Original Message-----
> From: Grace, Jim [SMTP:Jim.Grace@ccac-casc.on.ca]
> Sent: Monday, October 29, 2001 4:20 PM
> To: 'powerh-l@lists.swau.edu'
> Subject: Quiz and Javascript
>
> I am looking into converting some of our quiz reports into html with some
> JavaScript embedded. I am having difficulty in the way quiz handles the
> double quotes. In a text string I want the double quotes to be maintained
> in the string.
>
> For example:
>
> DEFINE java char*100 = "document.write("Click <A
> HREF='javascript:jsfunction()'>here</A>");"
>
> Does anyone know how I can keep the "Click...</A>" as is?
>
> Thanks
>
>