If I am using Backbone with pushstate, how should I format my links?
Currently I am doing this:
<a href="task/create">create task</a>
If I use the above format, it actually sends a GET
request to the server, which serves a standard page and backbone correctly identifies that it should go to task/create
, which it does, and shows the view.
But why is it sending a GET
request in the first place? (even though I have set pushstate to true?)
edit: I am using the latest version of Chrome (as of August 2011), so my browser is not a problem, I think.