#jquery #detach() .detach() .detach() removes the selected element from the document. Same as .remove() in that it removes, but .detach() saves the removed elements for reuse. grammar .detach( [selector ] ) for example var jb = $( 'h1' ).detach(); will remove the h1 element from the document and store it in the variable jb. example Clicking the Cut button will cut the Dolor, and clicking the Pas..