How to pass 2 javascript events in one click?
<p>I want pass 2 javascript events in one click, I put 2 of them into <code>href</code> and <code>onclick</code>. But when I execute the click thing, it always do <code>onclick</code> thing. click again or a third time, the <code>href</code> action do. I do not know how it was like this.</p>

<p>so, how to solve it? </p>

<p>if combine 2 javascript events in one part(href or onclick). is it could run well? how to?</p>

<p>thanks.</p>

<pre><code>&lt;a href="javascript:function1('value1')" onclick="javascript:function2('value2')"&gt;
</code></pre>
