Which of the following is a jQuery method to replace an element with another element?
A. replace()
B. swap()
C. change()
D. replaceWith()
Answer:D
Which of the following is a jQuery method to replace an element with another element?
A. replace() B. swap() C. change() D. replaceWith()