jquery detach and remove code example Example: jquery detach and remove var span = $('span').detach(); ... span.appendTo('body');