That does not escape the single quote.
-Ben
DNewfield wrote:
>
> chengas123 wrote:
>> var testValue = '<s:property value="testValue" />';
>>
>> However, this does not work if the value has a single quote in it
>
> Try:
> var testValue = "<s:property value='%{testValue}'/>";
>
> -Dale
>
>
--
View this message in context:
http://www.nabble.com/Escaping-Characters-in-Struts-Property-Tag-tf4799846.html#a13732806
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]