Side navigation
#13234 closed bug (notabug)
Opened January 16, 2013 05:00PM UTC
Closed January 16, 2013 05:14PM UTC
Last modified March 19, 2013 12:40PM UTC
changed data-attributes are not reflected in data() api
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See this jsfiddle for an example: <http://jsfiddle.net/2tJqm/>
If a data attribute changes, getting it's value via the data() api should reflect that change - but it doesn't.
http://api.jquery.com/data/
http://www.learningjquery.com/2011/09/using-jquerys-data-apis