jQuery Mobile Question:

Download Job Interview Questions and Answers PDF

What is .remove()?

jQuery Mobile Interview Question
jQuery Mobile Interview Question

Answer:

Use .remove() when you want to remove the element itself, as well as everything inside it. In addition to the elements themselves, all bound events and jQuery data associated with the elements are removed.

Download jQuery Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
What is .empty()?What is .detach()?