I've often used
$escapetool.javascript($request.param)
maybe that helps?
paul
Le 11 juin 2012 à 14:43, <[email protected]> a écrit :
> 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.
>
> Thanks for your help.
>
> Mathieu Canzerini.
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users