|
remove()Removes each element in a set from the DOM. This function returns a new result set containing each removed element. These can be changed and inserted in the document. This could be beneficial in terms of performance, as manipulating elements inside the DOM is relatively time consuming. ExamplesThis script removes all Span elements found in the template.
The selector of the following sample script is
|
|