Our web app is rendered totally on the browser.
The server only talks to the browser through JSON messaging.
As a result, we only need a single page for the app
Why have all the click events as a href
links?
If instead you use span
tags with :hover
CSS and the appropriate onclick events, this will get around the issue completely.
This method seems ok in all browsers, if you set the onclick with a jQuery event:
<a href="javascript:;">Click me!</a>
As said before, href="#" with change the url hash and can trigger data re/load if you use a History (or ba-bbq) JS plugin.