href="javascript:" vs. href="javascript:void(0)"
<p>Our web app is rendered totally on the browser.<br/>The server only talks to the browser through JSON messaging.</p>

<p>As a result, we only need a single page for the app and mostly all the <code>&lt;a&gt;</code> tags do not have a real <code>href</code> pointing to other pages.</p>

<p>In my quest of removing unnecessary things I was wondering if I can get rid of the zillions of <code>void(0)</code> we have in our code, as they seem useless:</p>

<pre><code>&lt;a onclick="fn()"&gt;Does not appear as a link, because there's no href&lt;/a&gt;
&lt;a href="javascript:void(0)" onclick="fn()"&gt;fn is called&lt;/a&gt;
&lt;a href="javascript:" onclick="fn()"&gt;fn is called too!&lt;/a&gt;
</code></pre>

<p><strong>Does anybody knows if using <code>href="javascript:"</code> can cause a problem?</strong><br/>
It works even on IE7...</p>

<p>Please don't spend your valuable time to tell me inline javascript is bad :)</p>
