Joining multiple event handlers in Javascript
<p>How to join multiple event handlers in Javascript as in the following scenario :</p>

<pre><code>onClick="doSomething();" onKeyUp="doSomething();" onLoad="doSomething();"
</code></pre>
