I am moving the position (and parents) of a div
element using the insertAfter
function.
Something like this:
$('.annotation i').click(function(){
$('.annotation').find('.comment').insertAfter('#container');
});
I would like to know if it is possible somehow to store the original parent in order to move the div
element back to its original position (under the original parent) after another user action.
Thanks.