Hi,
in a
jsp page I have an automatically html generated
string :
i need to call it from javascript method like this :
this doesn't work and i ot error: string not terminated.
actually this html String is generated automatically from a method i'm calling to return the above html string .
i've tried replacing all double qotes " in html by a single quote ' ; but this still generates a javascript error ( expected ']' ).
i tried using double quotes in javasript function like this :
and it now gives an error : expected ']' and not error : string not terminated.
I'm puzzeled what could be the problem ! I scanned the above html string and i didn't found any character that might confuse the browser.
can you help please ?
many thanks.