remove() Method in jQuery
remove() Method
The remove() method is used to remove a particular element. This method removes the selected element(s), as well as its child elements.
Syntax:-
Its syntax is:- $(selector).remove(selector)
Further Explanation:-
Parameter | Description |
---|---|
selector | Optional. Specifies one or more elements to be removed. |
Code Explanation
All Tutorials related to jQuery Advance
DOM Traversal methods
remove() Method
empty() Method
Event Handling
on() Method
Hide(), Show(), Toggle()
fadeIn(), fadeOut(), fadeToggle()
slideUp(), slideDown()
slideToggle()
animate()