How to fix "return not in function" error that shown on firebug?
<p>I try to prevent page reload when user click a link, so I wrote :</p>

<pre><code>&lt;a href="javascript: return false"&gt;bla&lt;/a&gt;
</code></pre>

<p>Or</p>

<pre><code>&lt;a href="#"&gt;bla&lt;/a&gt;
</code></pre>

<p>Seriously I don't like to use <code>#</code> because when user click on the link, the url on the address bar is added the symbol #, it make the url look ugly. So I prefer to use <code>javascript: return false</code> but firebug show error : "return not in function", may I know how to fix the error?</p>
