jQuery Attaching a event to another event
<p>Specifically I'm looking to insert a mouse out event after a click. So suppose you have the following:</p>

<pre><code>&lt;div id="container"&gt;
 &lt;a href="#" id="link"&gt;Link&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>The behavior I'd want is after every "a#link" click, I want to insert a mouse out event on the "id#container" div -- basically only fire the mouse out event if there was a click. Is there a way to bind the two events and setup some kind of if checking variable? </p>
