.jqmRemoveData( prop )Returns: Object
Description: Remove a previously-stored piece of data.
-
.jqmRemoveData( prop )
-
propType: StringA string naming the piece of data to delete.
-
When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core's removeData
method (note that this includes $.fn.data
, $.fn.removeData
, and the $.data
, $.removeData
, and $.hasData
utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use).