title: Single quotes in string with jQuery ajax
body: <p>I have run into a problem where the user enters data and if there are single quotes at all, the script errors out.  </p>
  
  <p>What's the best way to handle single quotes that users enter so it doesn't interfere with the jquery/javascript?</p>
  
  <p>UPDATE:</p>
  
  <p>I'm sending it through ajax to a database. here is the data parameter for a json ajax call.<br>
   <code>data: "{str_" + sectionName + " :'" + UpdateText + "',EntityID: '" + EntityID + "' }",</code><br>
  with update text being the string that can contain the quotes.</p>