remove child jquery code example
Example 1: how remove child in jquery
$(".parent").empty();
Example 2: remove item jquery
$( ".hello" ).remove();
Example 3: delete all child elements jquery
$("div").empty();
Example 4: jquery remove elemtns
.remove("#elemnt_id .elemnt_class");
Example 5: delete div based on select
$('#record_nav ul li').on('click', function(e){
$('#record_nav ul li.selected').removeClass('selected');
$(this).addClass('selected');
$('.content').hide();
var id = $(this).data('target');
$(id).show();
});