How to build jQuery remove
<p>I have some like that.</p>

<pre><code>&lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
&lt;table&gt;
&lt;tr title="test" id="ex1"&gt;
    &lt;td&gt;&lt;div class="move"&gt;Hello&lt;/div&gt;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr id="ex2"&gt;   
    &lt;td&gt;&lt;div class="move"&gt;Hello&lt;/div&gt;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;       
&lt;/table&gt;

&lt;button&gt;Move&lt;/button&gt;
&lt;script&gt;
$("button").click(function () {
    $(".move").remove();   
    });
&lt;/script&gt;
</code></pre>

<p>If I press button, the both div's will moved. But I need to move only one, according to id of tr it laid.</p>

<p>I have only wrong ideas:</p>

<pre><code>$(".move").parent.parent.attr('id', 'ex2').remove();
</code></pre>

<p>Thank you so much!</p>
