Skip to main content

Bug Tracker

Side navigation

#6758 closed bug (invalid)

Opened July 02, 2010 11:17AM UTC

Closed October 03, 2010 10:20PM UTC

.die() working only with same selector to live

Reported by: Frank84 Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: die Cc:
Blocked by: Blocking:
Description

For html

<a class="sc_OK">AAA</a><br>

<a class="sc_OK" id="my_way">BBB</a><br>

<a class="sc_OK" id="her_way">WWW</a>

after applying jQuery commands

$('.sc_OK').live('click',function(){alert(1);});

$('#my_way').die('click');

We will still see alert clicking on BBB.

Thanks for what you're doing, as for now I'll try different way for my task.

Attachments (0)
Change History (1)

Changed October 03, 2010 10:20PM UTC by dmethvin comment:1

priority: → undecided
resolution: → invalid
status: newclosed

You need to match the selectors for live/die.