I have an weird issue with jquery data function. Here is the fiddle
As you can see I update the active
data but I cannot see the dom data-active
attribute value change, although I re-query the active data, It writes the changed value.
$.data() do not update the attribute on the dom when I inspect it.