title: Triggering onclick event using middle click
body: <p>I am using the <code>onclick</code> event of a hashed link to open a <code>&lt;div&gt;</code> as a pop up. But <strong>the middle click does not trigger the <code>onclick</code> event</strong> but only takes the <code>href</code> attribute value of the link and loads the URL in a new page. How can I use middle click to open the <code>&lt;div&gt;</code> as a popup? </p>