jQuery - Rename elements
<p>Got a div whose ID="cartArea" in there I have mulitple textbox</p>

<pre><code>&lt;input type="text" id="tb_1" name="tb_1" /&gt;
&lt;input type="text" id="tb_2" name="tb_2" /&gt;
&lt;input type="text" id="tb_3" name="tb_3" /&gt;
</code></pre>

<p>and so on, there could be more or less items in the list.  Beside each textbox there is a remove option. I can get the selected textbox to be removed from the container div no problem, but what I need to be able to do is then rename the remaining textboxes.</p>

<p>So if I remove tb_2, I'm not left with tb_1 and tb_3, but rather tb_1 and tb_2</p>

<p>Can this be done and if so how?</p>
