The IT Side
Monday, May 31, 2010
Escape Double Quotes in JS
Ok so it seems like I'm doing some coding again. Here's how to escape a double quote in JavaScript from PHP:
onclick=\"addParameter('fun\\x22 and \\x22 games');\"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
No comments:
Post a Comment