Skip to main content

Bug Tracker

Side navigation

#6921 closed enhancement (fixed)

Opened August 19, 2010 11:13PM UTC

Closed September 20, 2010 09:48PM UTC

data() method should read html5 data-* attributes

Reported by: paul.irish Owned by:
Priority: Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

from this:

<div data-patchlocation="github" data-awesome="true" data-testcount="28" />

to this:

$( div ).data( 'patchlocation' ) "github"

$( div ).data( 'awesome' ) true

$( div ).data( 'testcount' ) 28

more detail:

http:forum.jquery.com/topic/patch-feedback-requested-html5-data-attrs-transcend-into-the-fn-data-api

Attachments (0)
Change History (2)

Changed August 19, 2010 11:21PM UTC by paul.irish comment:1

Changed September 20, 2010 09:48PM UTC by john comment:2

resolution: → fixed
status: newclosed