11 Jun
2012
11 Jun
'12
2:31 p.m.
On 06/11/2012 08:43 AM, [email protected] wrote:
Hello everybody,
I've a simple problem. I've a text input where people can enter some text. After, I want to send that text as a param to a javascript function. However, when user types a quote (simple or double), there is a problem in my javascript syntax. I've tred to add backslash but no effect.
var userInput = "$!escapetool.javascript($request.userInput)";
Thanks for your help.
Mathieu Canzerini.
-- Sergiu Dumitriu http://purl.org/net/sergiu/