JSFiddle - React, Tailwind, and code Playground

HTML

<div id="div1">Div One </div>
        <div id="div2">Div 2</div>
        Here is content other div id or div class,
        I not define example insert after div id footer
        Because this is content owned by others.
        This is justexample content.

JavaScript

$(document).ready(function(){
    a = $("#div2").clone();
    $("#div2").remove();
    $("body").append(a);
});

$(document).ready(function(){
    a = $("#div1").clone();
    $("#div1").remove();
    $("body").append(a);
});