KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am updating a data attribute by jQuery, Like: jQuery('div').data('hidden', 'true'); alert(jQuery('div').data('hidden')); Data attribute value got changed and returned new value which is true but DOM is still showing the old value which is false .
Tags (comma-separated)
Save Edits
Cancel