[jQuery] How do i remove an event?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Hi all,
I'm struggling to understand how to remove an event listener in jquery.
I have this basic code:
$('div#topLineHover').hover(function()
{
$('#topLine').slideDown('slow');
});
Now, once the topLine div has appeared, i want to stop this code from
working any more.
At a later point, upon another event being triggered, i'd like to
reactivate this code
I'm really at a loss on this and i've searched high and low! Any help
would be greatly appreciated.</font>
Thanks
</body>
</html>