jQuery.removeData()S2C Home « Utilities « jQuery.removeData()

DOM element data removal.


The jQuery.removeData() jQuery Data utility method, removes the specified data that was previously stored with the jQuery.data() method.

Shorthand version $.removeData()

  • The jQuery.removeData() method is a low-level method which we are showing for completeness.
  • We suggest using the .removeData() method instead.


Signature Description
jQuery.removeData( element [, name] )Remove the specified data that was previously stored, optionally passing the name of the data.


Parameter Description Type
elementA DOM element to remove data from.Element
nameA string identifying the data to remove.String


A jQuery object.