empty() in jQuery
his method removes all the child nodes of the set of matched elements from the DOM.
This method doesn't remove the entire element.
Syntax
$(selector).empty()
his method removes all the child nodes of the set of matched elements from the DOM.
This method doesn't remove the entire element.
$(selector).empty()
Copyright © By Tutorialcodeplay. All Rights Reserved