• 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
Re: Quotes in strings sent to JavaScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quotes in strings sent to JavaScript


  • Subject: Re: Quotes in strings sent to JavaScript
  • From: Emmanuel <email@hidden>
  • Date: Thu, 29 Nov 2007 16:55:33 +0100

At 8:48 AM -0500 11/29/07, Mark J. Reed wrote:
this.metadata = <XML string goes here>;

And that's illegal Javascript: you need quotation marks around the
whole XML string.  Fortunately, since JavaScript (unlike AppleScript
and XML) allows single quotes as well as double ones

Nothing important, but I think that XML (unlike AppleScript) allows single quotes as well as double ones.


Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Quotes in strings sent to JavaScript (From: Rob Lewis <email@hidden>)
 >Re: Quotes in strings sent to JavaScript (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Quotes in strings sent to JavaScript
  • Next by Date: Re: Quotes in strings sent to JavaScript
  • Previous by thread: Re: Quotes in strings sent to JavaScript
  • Next by thread: Idea for better handling of mailinglists
  • Index(es):
    • Date
    • Thread