Open
Description
http://bugs.jquery.com/ticket/14376
jQuery.fn.data()
will not work data-* attributes in the very specific case where an attribute has been named with multiple words and any of the words after the first word (not including data-
) begin with a digit.
Example:
<div data-foo-42></div>
However, these work just fine:
<div data-42></div>
<div data-foo42></div>