How to insert value into html array with jQuery?
<p>I have a form and input type hidden:</p>

<pre><code>&lt;?php echo "&lt;input type=\"hidden\" name=\"ref[]\" value=\"".$i."\" /&gt;"; ?&gt;
</code></pre>

<p>Let's say <code>ref[]</code> has the values <code>{'1','2','3','4'}</code> and I want to use jQuery to insert 'a' in between '2' and '3'. Can I do it with jQuery?</p>

<p>How do I reference the html <code>ref[]</code> using jQuery? and insert value to the position I need?</p>
