title: How to encode value with jquery serialize?
body: <p>I tried to encode all values like</p>
  
  <pre><code>encodeURIComponent($("#customer_details").serialize());
  </code></pre>
  
  <p>and that doesn't work as expected.</p>
  
  <p>Is there way to get all elements on form and use <code>encodeURIComponent</code> to encode each value?</p>