Skip to main content

Bug Tracker

Side navigation

#10444 closed bug (invalid)

Opened October 06, 2011 10:24PM UTC

Closed October 06, 2011 10:50PM UTC

Last modified October 06, 2011 10:53PM UTC and $().data are different things

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

I've read 10027, and I'm still scratching my head and the docs say nothing on this. Are these supposed to be different?

Here's a fiddle:

It says: false - b - c

Should say: true - b - b

Attachments (0)
Change History (2)

Changed October 06, 2011 10:50PM UTC by ajpiano comment:1

resolution: → invalid
status: newclosed

The first argument that is to be passed to jQuery.hasData and is a DOM element, *not* a jQuery object. When you follow this (documented) requirement, I believe the results are as expected.

Changed October 06, 2011 10:53PM UTC by rwaldron comment:2