Is there any way to stop # from appearing inside the address bar when using Backbone routing, pushState or not?
Is there any way to stop # from appearing inside the address bar when
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Current versions of IE do not support
pushState. (It appears in the IE10 previews).Your options are either to drop down to normal (non-Ajax) links / form submissions / etc, or use the hashbang hack.
I don’t know backbone well enough to say for sure, but the following might be sufficient to fallback to normal routing: