TestJSEncoding

Last modified by Ludovic Dubost on 2009/04/26 22:27

JS Encoding

Failed to execute the [groovy] macro. Cause: [startup failed: Script6.groovy: 5: Unexpected character: '\' @ line 5, column 32.      text = text.replaceAll(""", "\\x22");                                   ^  1 error ]. Click on this message for details.

<input type="button" name="a" value="click" onclick="alert('$text');" />