title: Best practice for empty javascript event (e.g. onclick="javascript:;")
body: <p>If you want an event or a link to an empty javascript call, there are several ways, of which I can think of:</p>
  
  <pre><code>&lt;a href="#"&gt;Method 1&lt;/a&gt;                    &lt;- Ugh... changes URL in browser
  &lt;a href="javascript:;"&gt;Method 1&lt;/a&gt;         &lt;- My currently preferred method
  &lt;a href="javascript:void(0);"&gt;Method 1&lt;/a&gt;  &lt;- Another approach?
  </code></pre>
  
  <p>What is the best way in terms of cross-browser compatibility and shortness?</p>