I want to copy the content of a selected div to another div with jquery clone. but I dont want to append it anywhere
what I mean is when we make a clone of a div with jquery (correct me if i am wrong) we have to set its position and it will dynamically create a new division which is displayed.
but I want to get the content of a selected div and copy it to another pre-set div
var a = $('#selector').html();
var b = $('#selector').html(a);
not sure I understood you properly but I think thats what you meant :)