Is it possible to escape single quote in generated javascript?
Is it possible to escape single quote in generated javascript?
- Subject: Is it possible to escape single quote in generated javascript?
- From: James Cicenia <email@hidden>
- Date: Tue, 13 Mar 2012 07:16:03 -0500
Hello -
I am trying to use prototip2 in my app with AjaxSubmitButton in the content.
However, it includes single quotes which breaks the prototip2
<li><input type="button" name="TOSWrapper.19.29.1.AllProjects.3.1" value="All" id="ShowAll" _onclick_="ASB.update('AllProjectUpdateArea',document.LinksForm,null,{_asbn:'TOSWrapper.19.29.1.AllProjects.3.1'})" /></li> Is there a way to escape those single quotes?
Thanks
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden