Side navigation
#5662 closed bug (worksforme)
Opened December 15, 2009 10:14PM UTC
Closed November 20, 2010 02:37PM UTC
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
Attachments (0)
Change History (1)
Changed November 20, 2010 02:37PM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
http://jsfiddle.net/dmethvin/QdBH4/