col2005
09-27-2005, 04:01 AM
Hi,
As the subject says, I'm having trouble quoting the text </script>
I have a method that uses single quote for quoting strings, e.g.
myMethod('some string param'); // I can't pass the string '<script>var a=0;</script>'
It throws an error unterminated string :(
any idea why?
TIA
As the subject says, I'm having trouble quoting the text </script>
I have a method that uses single quote for quoting strings, e.g.
myMethod('some string param'); // I can't pass the string '<script>var a=0;</script>'
It throws an error unterminated string :(
any idea why?
TIA