我通过 jQuery data() 在 HTML Elemnets 中存储数据...... 使用该数据后,我想重置每个元素的数据......
我不想再次加载页面...
最佳答案
尝试:
jQuery.removeData( element [, name] )
element
: A DOM element from which to remove data.
name
: A string naming the piece of data to remove.
关于javascript - 我想清除 jQuery 存储的所有数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9634308/