Do you know what is the use of jquery.data()?



Do you know what is the use of jquery.data()?..

Answer / Siddhartha Kumar Sinha

jQuery's .data() method is used for storing and retrieving data values for an element in a user-space storage area called 'data store'. It can be used to store custom data associated with an HTML element that can later be retrieved.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Can we use our own specific character in the place of $ sign in jQuery?

1 Answers  


What is get()? : jquery mobile

1 Answers  


How does caching helps and how to use caching in jQuery?

1 Answers  


Where jquery mobile works? : jquery mobile

1 Answers  


Define width() vs css('width')?

1 Answers  


Is jQuery a programming language?

1 Answers  


Explain .live()? : jquery mobile

1 Answers  


How we can select multiple elements in jquery?

1 Answers  


Explain the difference between jquery.size() and jquery.length?

1 Answers  


How to load jQuery locally when CDN fails?

1 Answers  


Difference between parent() and parents() in jQuery?

1 Answers  


How to execute jQuery code after the DOM is ready?

1 Answers  


Categories