Side navigation
#9487 closed bug (duplicate)
Opened June 02, 2011 05:05AM UTC
Closed June 02, 2011 01:46PM UTC
Last modified June 02, 2011 01:46PM UTC
Calling data on a jQuery object with HTML5 data attributes has strange behavior if attribute names contain singular letters.
Reported by: | vincetg2@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | data | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Test case: http://jsfiddle.net/BRv6U/6/
If any of the data attributes have single letters in the middle of the hyphen-separated name they are missing from the returned object of data attributes.