jQuery - remove function attached to div
<p>I'm <a href="http://stackoverflow.com/questions/3286736/jquery-cycle-plugin-pause-resume-weird-behavior">running into a problem with jQuery</a>, so I think I've figured out a workaround, but need help.</p>

<p>I currently attach a cycle() slideshow to my div like this:</p>

<pre><code>function startSlideshow() {
    $('#slideshow').cycle({ some parameters });
}
</code></pre>

<p>When I pause and restart this slideshow, it exhibits weird behavior, due to bugs in the cycle plugin. So my workaround idea is this: to destroy the existing cycle() and then just recreate it on the fly.</p>

<p>I can easily recreate it by calling startSlideshow() again... but how do I kill the old cycle() that's attached to the div?</p>

<p>I guess I'm looking for a way to "unset" or "unbind" it completely (and jQuery's unbind() method isn't it).</p>

<p>Thanks--
Eric</p>
