check if div contain a div based on id
<p>i have a li tag which was dynamically added. To that based on some condition i added a div with 4 child div to it. After adding all these dynamically my html design was like this</p>

<p><code></p>

<pre><code>&lt;ul&gt;
    &lt;li id="liTab1"&gt;
        &lt;div id="TaskDetails"&gt;
           &lt;div id="div1"&gt;&lt;/div&gt;
           &lt;div id="div2"&gt;&lt;/div&gt;
           &lt;div id="div3"&gt;&lt;/div&gt;
           &lt;div id="div4"&gt;&lt;/div&gt;
       &lt;/div&gt;
   &lt;/li&gt;
</code></pre>

<p></code>
Now i wanted to remove the div2 and rebind it dynamically at 2nd position only...
is this possible, if so some sample code would be helpfull</p>

<p>Thanks in Advance....</p>
