Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

jquery remove child 1 elemtn

$(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();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #remove #child #elemtn
ADD COMMENT
Topic
Name
5+7 =