2
Reply

How many ways to remove child nodes in jQuery?

Manas Mohapatra

Manas Mohapatra

Aug 18, 2015
710
0

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

    Munesh Sharma
    May 04, 2016
    0

    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 Mohapatra
    August 18, 2015
    0