Opened 13 years ago
Closed 13 years ago
#5662 closed bug (worksforme)
live/die cannot unbind all live events
Reported by: | lucentminds | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | event live die | Cc: | |
Blocked by: | Blocking: |
Description
Example: <code>
$( 'body' ).live( 'click', function(){ window.status = ( new Date().getTime() ); });
$( 'body' ).die();
</code>
time keeps changing on each click.
The ".die()" method does not stop events. The method will only work if a specific event is set like: ".die( 'click' )". This is the same for mouseover, mouseout, mousedown...etc
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/dmethvin/QdBH4/