jquery: post input values to PHP without serializing
<p>Trying to do very simple thing.</p>

<p>Have too many of these fields:</p>

<pre><code>&lt;input name="itempriceqty0" /&gt;&lt;input name="itemprice0" /&gt;&lt;br /&gt;
&lt;input name="itempriceqty1" /&gt;&lt;input name="itemprice1" /&gt;&lt;br /&gt;
&lt;input name="itempriceqty2" /&gt;&lt;input name="itemprice2" /&gt;&lt;br /&gt;
</code></pre>

<p>etc...</p>

<p>Goal is to get their values in one PHP string of this format: itempriceqty0=itemprice0, itempriceqty1=itemprice1,itempriceqty2=itemprice3,etc...</p>

<p>Serializing with jquery gives a url formatted string, which I need to split many times with PHP to get rid of input names and other &amp;= chars.</p>

<pre><code>$.post('test.php', {
  itemprice: $('#itempricefieldswrapper :input').serialize() }, ...
);
</code></pre>

<p>What is the easiest way to handle it with jquery?</p>

<p>P.S. Googled everywhere. Need help. Thanks.</p>
