Skip to main content

Bug Tracker

Side navigation

#7222 closed bug (fixed)

Opened October 17, 2010 08:56AM UTC

Closed October 17, 2010 03:43PM UTC

Last modified March 13, 2012 03:13PM UTC

data() doesn't retrieve HTML 5 data-* attribtues

Reported by: jitter Owned by:
Priority: undecided Milestone: 1.4.4
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

When calling data() (with no parameter) the returned object doesn't include the since 1.4.3 supported HTML 5 data-* attributes

test case

Attachments (0)
Change History (2)

Changed October 17, 2010 03:43PM UTC by John Resig comment:1

resolution: → fixed
status: newclosed

Make sure that .data() (no args) returns a list of all the data- properties as well. Also make sure that accessing a data- property via .data() doesn't cause it to change again at a later time (it should be static). Fixes #7222, #7223.

Changeset: 8a5df39045292397a06d08b4fab2ad29819b5d44

Changed October 27, 2010 06:54PM UTC by john comment:2

#7332 is a duplicate of this ticket.