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 j
var a = $('#selector').html(); var b = $('#selector').html(a);
not sure I understood you properly but I think thats what you meant :)