adspace


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can jquery library be added to pages?

952


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

999


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?

974


What is the minimum setup needed to start using jquery.

939


How to always reference latest version of jquery?

875