Remove elements | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 1
$("#txt”).siblings().remove();
1st May 2021, 6:31 AM
Manouchehr Behrouznami
Manouchehr Behrouznami - avatar