jQuery.metadata.get()
Categories: Utilities
jQuery.metadata.get( elem, [options] )Returns: Object
Plugin: jQuery.metadata
Description: Extracts, caches, and returns metadata from an element.
-
jQuery.metadata.get( elem, [options] )
version added: 1.0elem The element containing the metadata to be extracted.
options A set of key/value pairs that define the type of metadata to be extracted. All options are optional.
The jQuery.metadata.get()
method is capable of extract data from classes, random attributes, child elements and HTML5 data-* attributes.
Attention: jQuery.metadata.get()
could be in conflict with .metaparse()
, be sure to prevent conflicts use different modes for these methods.