js, how to pass a click event?
<pre><code>&lt;a id="button-a"&gt;a&lt;/a&gt;
&lt;a id="button-b"&gt;b&lt;/a&gt;
</code></pre>

<p>I want click button a, the button b will also accept a click event; </p>

<p>click button b, the button a will also execute a click event. </p>

<p>how to make that in js? thanks.</p>
