title: JavaScript - How escape quotes in a var to pass data through Json
body: <p>I'm passing some data through Json to a Webservice.
  My problem is that i'm passing html (from a tinyMCE input), so the var has content using quotes and that's giving me problems.
  I'm passing the values like this:</p>
  
  <pre><code> data: '{ id: "' + news_id + '", title: "' + news_title + '", body: "' + news_body + '" }',
  </code></pre>
  
  <p>Is there anyway to espace quotes in javascript, so i can send html in that news_body var?</p>
  
  <p>Thanks</p>