Calling data on a jQuery object with HTML5 data attributes has strange behaviour with if attribute names contain numbers.
|Reported by:||oliver.nightingale1@…||Owned by:||rwaldron|
test case - http://jsfiddle.net/BRv6U/1/
If any of the data attributes have numbers separated by hyphens they are missing from the returned object of data attributes.
Have been able to reproduce this bug in Chrome 13, FireFox 4. Safari 5.0.5 on OS X 10.6.7
Change History (6)
comment:1 Changed 6 years ago by rwaldron
- Component changed from unfiled to data
- Owner set to rwaldron
- Priority changed from undecided to high
- Status changed from new to assigned
comment:5 Changed 6 years ago by Dave Methvin
- Resolution set to fixed
- Status changed from assigned to closed