Opened 13 years ago
Closed 12 years ago
#6758 closed bug (invalid)
.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.
Change History (1)
comment:1 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You need to match the selectors for live/die.