Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
I am updating a data attribute by jQuery, Like: jQuery('div').data('hidden', 'true'); alert(jQuery('div').data('hidden')); Data …
jquery custom-data-attribute