Answers for "delete all child elements jquery"

5

delete all child elements jquery

$("div").empty();
Posted by: Guest on June-17-2020
1

jquery empty

// Remove all child nodes of the set of matched elements from the DOM
// This method does not accept any arguments.
$("div.parent").empty();
Posted by: Guest on September-01-2020

Code answers related to "delete all child elements jquery"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language