Skip to main content

Bug Tracker

Side navigation

#11196 closed bug (invalid)

Opened January 19, 2012 06:47PM UTC

Closed January 19, 2012 07:06PM UTC

die() selector quote type order MUST match original live selector EXACTLY

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

if you bind a live event to a selector using something like

$("input[name='cancel']").live("click", function(){});

and then try to unbind it with die().. like


it does NOT unbind that original bound event because the quote types are mismatched

Attachments (0)
Change History (1)

Changed January 19, 2012 07:06PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Yes, as documented:

And, also as documented, .live() and .die() are deprecated.