So entfernen Sie untergeordnetes Element in 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();