jquery destroy child elements code example
Example: how remove child in jquery
//for remove the child in jquery you can use the below code
$(".parent").empty();
//for remove the child in jquery you can use the below code
$(".parent").empty();