adspace


Difference between detach and remove? : jQuery Mobile

Answer Posted / Vikas Gupta

The 'detach' method removes an element from the DOM but maintains its reference in memory, allowing you to reinsert it later. The 'remove' method also removes an element from the DOM, but does not maintain a reference to it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?

864


How to validate email using jquery?

975


How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.

999


How to always reference latest version of jquery?

875


How can jquery library be added to pages?

952


What is the minimum setup needed to start using jquery.

939