Difference between detach and remove?

devquora
devquora

Posted On: Feb 22, 2018

 

The basic differences between detach and remove are listed below:

DetachRemove
Detach keeps all jQuery data related to the removed elements.Remove does not keep all jQuery data related to the removed elements.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    jQuery Mobile Interview Questions

    Give a brief idea about jQuery mobile?

    It is a framework built for the development of mobile web applications that can be accessed easily and is built on short manageable coding standards...

    jQuery Mobile Interview Questions

    What is meant by the term ‘theming’ in jQuery mobile?

    jQuery Mobile gives a powerful customizable platform. Theming permits developers to customize appearances by changing different settings including color combinations and certain UI features...

    jQuery Mobile Interview Questions

    What is the need for jQuery?

    It assists in creating web applications in a manner that it can be accessed in the same way from mobile, desktop or tablet..