I am thinking about the best solution handling click events avoiding the change of the location in the browser(#).
These are the two scenarios:
1. <a class="someclass" href="#">Click me</a>
(This is ok, but adds a "#" in the url)
2. <a class="someclass" href="javascript:void(0)">Click me</a>
(Seems to be better, the url never changes, but I don't know about compatibility in all browsers, or even when javascript is disabled)
Which one is the best solution ?