what about '<s:property value="testValue" escape="true" />'
-Wes On 11/13/07, chengas123 <[EMAIL PROTECTED]> wrote: > > 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] > > -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]