How to unsubscribe to a callback for an event?
<p>In JavaScript, we can add multiple functions to body's onload or a button's onclick. Is it possible to remove one of them, if we have the reference to the function ?</p>

<p>If possible, how to accomplish the same in jQuery and also plain JavaScript ?</p>
