jQuery Mobile Question:

Download Job Interview Questions and Answers PDF

What is .detach()?

jQuery Mobile Interview Question
jQuery Mobile Interview Question

Answer:

This method is the same as .remove(), except that .detach() keeps all jQuery data associated with the removed elements. This method is useful when removed elements are to be reinserted into the DOM at a later time.

Download jQuery Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
What is .remove()?What is .bind()?