data( key, value )Returns: jQuery
Description: Store arbitrary data associated with the matched elements.
version added: 1.2.3.data( key, value ) key Type: String A string naming the piece of data to set. value Type: Object The new data value; it can be any Javascript type including Array or Object. version added: 1.4.3.data( obj ) obj Type: Object An object of key-value pairs of data to update.
|