jquery-mobile backbone.js routing

前端 未结 3 1963
心在旅途
心在旅途 2020-12-11 22:11

I have a backbone.js / jquery mobile app:

when i make a GET to mydomain.com/#map, then jquery executes \"/\" and then loads #map.

because \"/\" is triggered

3条回答
  •  长情又很酷
    2020-12-11 22:56

    use something more integrated with jquery mobile, for instance jquerymobile-router (you can find it on github). It replaces backbone's router and it's to be used with jquery mobile and backbone.js or spine.js

提交回复
热议问题