Hi,
I have onclick handler which sets a form property via javascript. Problem is
when the myWeirdName has a quote in the name, this breaks my javascript
handling below.  Can anyone help me get around this easily? Thanks.

<input type="image" onclick="strutsForm.myActionProp.value='takeaction';
strutsForm.myNameProp.value='<c:out value="${result.myWeirdName}"/>'; return
true" property="takeaction" src="button.gif" >

Reply via email to