Opened 9 years ago
Closed 9 years ago
#14280 closed bug (notabug)
Data attribute set by .attr method is not correctly retrieved by .data method
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Setting a data attribute with .attr in between .data calls does not update the value returned by the second .data call : http://jsfiddle.net/9yPhS/
Note: See
TracTickets for help on using
tickets.
http://api.jquery.com/data/
http://www.learningjquery.com/2011/09/using-jquerys-data-apis