![html - Setting data attribute values for jquery can't seem to get it working for data() - Stack Overflow html - Setting data attribute values for jquery can't seem to get it working for data() - Stack Overflow](https://i.stack.imgur.com/MwQLb.jpg)
html - Setting data attribute values for jquery can't seem to get it working for data() - Stack Overflow
How to Get and Set the Value of a Data Attribute with JavaScript? | by John Au-Yeung | JavaScript in Plain English
GitHub - GetBlimp/jquery.state: Simple query plugin to set/get element state via data attributes (data-state).
![firefox - Using jQuery to select elements with data attributes assigns a null ID to its parent elements - Stack Overflow firefox - Using jQuery to select elements with data attributes assigns a null ID to its parent elements - Stack Overflow](https://i.stack.imgur.com/cCpJs.png)