Como remover o elemento filho no jQuery
//for remove the child in jquery you can use the below code
$(".parent").empty();
Mohamad
//for remove the child in jquery you can use the below code
$(".parent").empty();
$(this).find('span:first');
$(this).find(':first-child');
$(this).find('span').eq(0);
// Note that you don't need to use $(deleteElement) as deleteElement is already a jQuery object. So you can do it like this:
$(this).find('span:first').remove();
//for remove the child in jquery you can use the below code
$("selectorname").empty();
var element = document.getElementById('divName');
element.innerHTML = '';
.remove("#elemnt_id .elemnt_class");
$('#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();
});