Side navigation
#13465 closed bug (notabug)
Opened February 18, 2013 12:38AM UTC
Closed February 18, 2013 01:18AM UTC
Firefox and IE reverse the order in which jQuery data- attributes are returned
| Reported by: | matt@mattstow.com | Owned by: | matt@mattstow.com |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | git |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
When accessing data attribues using jQuery.data(), the order of them is reversed in Firefox and IE :(
See this pen for an example: http://codepen.io/stowball/pen/yGxrH
Attachments (0)
Change History (3)
Changed February 18, 2013 01:05AM UTC by comment:1
| owner: | → matt@mattstow.com |
|---|---|
| status: | new → pending |
Changed February 18, 2013 01:07AM UTC by comment:2
| status: | pending → new |
|---|
I was adding data attributes containing images to cycle in a carousel, which needed to be in a certain order.
Changed February 18, 2013 01:18AM UTC by comment:3
| resolution: | → notabug |
|---|---|
| status: | new → closed |
You'd be better off determining a way to do that yourself.
What code would depend on this?