3
Reply

What is the use jQuery.data method?

    It store arbitrary data associated with the specified element.

    http://api.jquery.com/jquery.data/

    jQuery.data methods is used to associate the data with the DOM nodes and the objects. This data method makes the jQuery code clear and concise.