• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is it possible to escape single quote in generated javascript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

http://www.nickstakenburg.com/projects/prototip2/


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
James

 _______________________________________________
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

  • Prev by Date: Re: SQL RTRIM
  • Next by Date: ERXDisplayGroup ---> ERXBatchingDisplayGroup
  • Previous by thread: Re: Missing details in improvements comments
  • Next by thread: ERXDisplayGroup ---> ERXBatchingDisplayGroup
  • Index(es):
    • Date
    • Thread