Ahh, I'm afraid I'd missed that you reversed the order of the quotation
marks.  I was not aware that could be done.  However, what I'm actually
doing is putting the value into an onclick attribute.  I'm not sure I can
use this trick because then I end up with something like
onClick="myFunction('test " value ')".  So I think escaping would still be
best for me, so I get what I actually want:  onClick="myFunction('test \'
value ')";

-Ben



DNewfield wrote:
> 
> 
> Try:
> var testValue = "<s:property value='%{testValue}'/>"; 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Escaping-Characters-in-Struts-Property-Tag-tf4799846.html#a13734649
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to