$(“#tblRow”).empty();
Interviews3 answers
How many ways to remove child nodes in jQuery?
3 Answers
Bidyasagar MishraPosted Jul 12, 2019, 2:13 AM EDT
https://api.jquery.com/remove/
Munesh SharmaPosted May 4, 2016, 8:32 AM EDT
Child nodes can be remove in following ways:
1. Using Empty() - It removes all child nodes of selected element.
$("#divTest").empty();
2. Using Html() - It also another way to remove child nodes in jQuery.
$("#divTest").html('');
Manas MohapatraPosted Aug 18, 2015, 3:19 AM EDT


