Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13127 closed bug (notabug)

$.data with capital

Reported by: nj.wu Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:


$.data with capital will get undefined, pls make it like $.attr http://jsfiddle.net/78hUs/1/

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

The dash in the .attr() is what makes uppercase "Hello" work. Attributes are case-insensitive.


You are not using .data() correctly. Please ask for help on a forum and read this article:


Note: See TracTickets for help on using tickets.