title: decoding with jquery .serialize()
body: <p>I all. I posted yesterday a question regarding dates not sent with jquery-ajax and found a solution with the .serialize() function.</p>
  
  <p>Unfortunately the serialize() function decodes the date inputs and the result I get is this:</p>
  
  <pre><code>arrival= 13%2F04%2F2011 &amp;departure= 28%2F04%2F2011 &amp;ap_ID=2
  </code></pre>
  
  <p>I know how use decodeURIComponent() for single fields post like this:</p>
  
  <pre><code> var arrivalVal = $('#arrival').val(); 
  
   arrivalVal = decodeURIComponent(arrival);
  </code></pre>
  
  <p>but how do I use it for the long string made by the .serialize() function?</p>
  
  <p>Sorry if this seems a pretty obvious question but can't get my way around it.</p>