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$(this).find('span:first');
2$(this).find(':first-child');
3$(this).find('span').eq(0);
4
5// Note that you don't need to use $(deleteElement) as deleteElement is already a jQuery object. So you can do it like this:
6$(this).find('span:first').remove();