javascript - call a event form another element
<p>I have i button A with onlcick= "alert(1);"</p>

<p>And a button B.</p>

<p>How to when i click on B , it will call event on button A ?</p>

<p>click B -> eventB -> eventA </p>
