Data
These methods allow us to associate arbitrary data with specific DOM elements.
-
.clearQueue()
Remove from the queue all items that have not yet been run.
-
jQuery.data()
Store arbitrary data associated with the specified element. Returns the value that was set.
-
.data()
Store arbitrary data associated with the matched elements.
-
.dequeue()
Execute the next function on the queue for the matched elements.
-
jQuery.dequeue()
Execute the next function on the queue for the matched element.
-
jQuery.hasData()
Determine whether an element has any jQuery data associated with it.
-
.queue()
Show the queue of functions to be executed on the matched elements.
-
jQuery.queue()
Show the queue of functions to be executed on the matched element.
-
jQuery.removeData()
Remove a previously-stored piece of data.
-
.removeData()
Remove a previously-stored piece of data.