1//for remove the child in jquery you can use the below code
2$(".parent").empty();
1//for remove the child in jquery you can use the below code
2$("selectorname").empty();
1$('#record_nav ul li').on('click', function(e){
2 $('#record_nav ul li.selected').removeClass('selected');
3 $(this).addClass('selected');
4 $('.content').hide();
5 var id = $(this).data('target');
6 $(id).show();
7 });