What does jQuery data() function do?



What does jQuery data() function do?..

Answer / Akhilesh Kumar Awasthi

The .data() method allows you to get or set HTML5 data attributes on DOM elements. It can be used for storing custom data with an element.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Where can we download JQuery?

1 Answers  


What does jQuery data() function do?

1 Answers  


What is method chaining in jquery and what are the advantages?

1 Answers  


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?

0 Answers  


What are the features of jQuery, has been used in web applications?

1 Answers  


Can we have multiple document.ready() function on the same page?

1 Answers  


Why content injected into a page is not enhanced? : jquery mobile

1 Answers  


Mention the differences between javascript and jquery.

1 Answers  


List browser related issues for jquery?

1 Answers  


Explain the use of the $.fn.bind and $.fn.trigger.

1 Answers  


What does dollar sign mean in jquery? : jQuery Mobile

1 Answers  


How to use jquery?

1 Answers  


Categories