Bind function to multiple events of different elements at once
<p>I would like to bind a function to the <code>mouseout</code> event of my <code>&lt;canvas&gt;</code> element, and bind the same function to the <code>blur</code> and <code>contextmenu</code> events of my body. How would I go about binding this function to those elements at once, when there are <strong>different elements</strong> which need the same function bound to <strong>different events of each</strong>?</p>

<p>Thanks.</p>
