0

Remove elements

Can someone help me with this? Fill in the blanks to remove all siblings of the element with id =“txt”. $(“***txt”).*****().*****(); The stars represent the space for answers but not the exact number of characters needed.

17th Jan 2019, 7:27 AM
Brent Malcolm
1 Answer
+ 1
$("#txt”).siblings().remove();
1st May 2021, 6:31 AM
Manouchehr Behrouznami
Manouchehr Behrouznami - avatar