javascript moving cloned nodes in a table
<p>I have a table:</p>

<pre><code>id1 || desc-name - 1
id2 || desc-name - 2
id3 || desc-name - 3
id4 || desc-name - 4
id5 || desc-name - 5
</code></pre>

<p>I would like to clone  row 3 and 4 and flip them:</p>

<pre><code>id1 || desc-name - 1
id2 || desc-name - 2
id4 || desc-name - 4
id3 || desc-name - 3
id5 || desc-name - 5
</code></pre>

<p>I have to use clone methodologies rather than jQuery.</p>

<p>I have figured out how to clone the rows and delete the current rows out of the table, however, I can't figure out how to replace the cloned rows in the right position?</p>

<p>Any ideas?</p>
