title: jQuery double quotes
body: <p>i have this form:</p>
  
  <pre><code>&lt;form name="myForm" action="#"&gt;
       &lt;input type="text" name="firstField" /&gt;
       &lt;input type="text" name="secondField" /&gt;
       &lt;input type="submit" name="submitButton" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and i have an ajax request:</p>
  
  <pre><code>$('input[type="submit"]').click(function(){
         var serialized = $('form').serialize();
         //ajax request
         $.ajax({
                  type : "POST",
                  url : "takeAction.php",
                  data : serialized,
                  succes : function(){
                      alert('done');
                  }
         }); 
  });
  </code></pre>
  
  <p>the problem is that if any of my fields value contains "'", like (who's the boss) my ajax request fails to complete (i'm trying to update an mysql row but the code fails, i get no error just that my row is not updated). i know that it's something about quotes but i don;t know how to do it. thanks</p>