.data()
Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements.
Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements.
Remove a previously-stored piece of data.
© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/miscellaneous/data-storage
扫描二维码
下载编程狮App
编程狮公众号