function switch(){
$('#get1').clone();
$('#get2').replaceWith($('#get1'));
};
I expected here that one copy of #get1 stays in original place, but what happens: it is disappeared, as not cloned.
So, I want #get2 replace with a COPY of #get1, not with original.
You are
creating clone but not using clone, instead you are using orininal object. You have to assing the clone object to some object and use that in replaceWith function,