How do I copy all elements and children between two elements into a temp element?
<pre><code>context = document.createElement("span");
start_element = my_start_element;
end_element = my_end_element;

// some how iterate through here (assuming start and end are different elements)
[start_element .. end_element].each(function(current_element){
   context.append(current_element);
});
</code></pre>

<p>pretty straight forward, just don't know how to do the loop part with the start and end nodes. =\</p>
