Ticket #7223 (closed bug: fixed)
data( key ) for HTML 5 data-* attributes behaves different from api documentation
|Reported by:||jitter||Owned by:|
The api for data( key ) says
The data- attributes are pulled in the first time the data property is accessed and then are no longer accessed or mutated (all data values are then stored internally in jQuery).
This isn't true. If the data-* attributes are changed after the first call to data( key ) the new value is retrieved.