jQuery rename id from class elements
<p>I have the following html.  Its a table that can contains many rows id=rows_x.</p>

<pre><code>&lt;div class="row_table" id="row_1"&gt;
&lt;div class="row_table" id="row_2"&gt;
&lt;div class="row_table" id="row_3"&gt;
&lt;div class="row_table" id="row_4"&gt;
</code></pre>

<p>Then I have id button that once clicked will delete the id ="row_2"</p>

<pre><code>$("#button").click(function(){
     $('#row_2').remove();
    /* Rename rows id goes here */
}
</code></pre>

<p><strong>And now for my question:</strong> </p>

<p>Since row_2 has been removed I need to be able to rename all following rows. </p>

<p>row_3 should become row_2, etc...</p>
