[jQuery] Moving an Element

[jQuery] Moving an Element


Hello,
I try to move an Element ( a div ) from one div to another. But I fail :-(
I use this code to do it:
    tmp = $('#elementToMove').clone();
    $('#elementToMove').remove();
    $('targetDiv').append( tmp );
But this is not working. Where is my problem?
Thanks for your help,
STefan Sturm