title: Call ondblclick without calling onclick-event
body: <p>Is there a simple solution without jquery, inside HTML-tags, that will call the <code>ondblclick</code> without causing <code>onclick</code> to happen too?</p>
  
  <p>This always closes the window although it should just show the alert: </p>
  
  <pre><code>&lt;a href="#" ondblclick="alert('dbl')" onclick="window.close();"&gt;X&lt;/a&gt;
  </code></pre>
  
  <p>(it only works in a javascript popup, cause you cannot close the main window with <code>window.close();</code>)</p>