[jQuery] unbind all events for an object? (Fix issue with AJAXloaded content and leaked elements, ie drip)

[jQuery] unbind all events for an object? (Fix issue with AJAXloaded content and leaked elements, ie drip)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left> </DIV>
<DIV></DIV>
<DIV><SPAN class=656553717-15082006><FONT face=Arial color=#0000ff
size=2> > </FONT></SPAN>Do events need to be unbound from dom
objects? <SPAN class=656553717-15082006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=656553717-15082006></SPAN> </DIV>
<DIV><SPAN class=656553717-15082006><FONT face=Arial color=#0000ff size=2>I
think they do, see the Closures thread.</FONT></SPAN></DIV>
<DIV><SPAN class=656553717-15082006></SPAN> </DIV>
<DIV><SPAN class=656553717-15082006><FONT face=Arial color=#0000ff
size=2>></FONT> </SPAN>Is there a way that I say loop through my content
and unattach all<SPAN class=656553717-15082006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=656553717-15082006><FONT face=Arial color=#0000ff
size=2>></FONT> </SPAN> events before replacing the content?
(Essentially a $(object).unbind(); that removes all events)<BR><SPAN
class=656553717-15082006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=656553717-15082006><FONT face=Arial color=#0000ff size=2>It
looks like .unbind() with no event will remove all events.</FONT></SPAN></DIV>
<DIV><SPAN class=656553717-15082006> </SPAN></DIV></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/