Bug Tracker

Modify

Ticket #9487 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

Calling data on a jQuery object with HTML5 data attributes has strange behavior if attribute names contain singular letters.

Reported by: vincetg2@… Owned by:
Priority: low Milestone: 1.next
Component: data Version: 1.6
Keywords: Cc:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 2 years ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to data

comment:2 Changed 2 years ago by timmywil

Duplicate of #9318.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.