I try to prevent page reload when user click a link, so I wrote :
<a href="javascript: return false">bla</a>
Or
<a href="#">bla</a>
Seriously I don't like to use #
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 javascript: return false
but firebug show error : "return not in function", may I know how to fix the error?