New course! Every coder should learn Generative AI!
Try a free lesson0
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.
1 Answer
+ 1
$("#txt”).siblings().remove();