Applying a different click handler to an element with jQuery
<p>Ok so i have this relevant code in jQuery:</p>

<pre><code>myself.insertAfter('.archive:last');
</code></pre>

<p>'myself' is just a variable containing a selector. So I remove the unnecessary class from it and apply the new one: 'archive'. However, when i click the newly inserted element, the actions i want to run after clicking an element with a class of 'archive' on it, does not happen. Now i know why this is happening, i just dont know how to solve it. I need to unbind the original click handler and apply a new one, but how!? </p>
