2
Reply

How many ways to remove child nodes in jQuery?

    https://api.jquery.com/remove/

    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('');