Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13465 closed bug (notabug)

Firefox and IE reverse the order in which jQuery data- attributes are returned

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:


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

Change History (3)

comment:1 Changed 10 years ago by dmethvin

Owner: set to [email protected]
Status: newpending

What code would depend on this?

comment:2 Changed 10 years ago by [email protected]

Status: pendingnew

I was adding data attributes containing images to cycle in a carousel, which needed to be in a certain order.

comment:3 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

You'd be better off determining a way to do that yourself.

Note: See TracTickets for help on using tickets.