Tuesday, 15 September 2015

routing - jQuery Mobile: how to open url hash with parameter? -



routing - jQuery Mobile: how to open url hash with parameter? -

i'm using jquery mobile 1.2.0

it's impossible open hash parameter. works - http://jquerymobile.com/demos/1.2.0/docs/pages/multipage-template.html#two doesn't work http://jquerymobile.com/demos/1.2.0/docs/pages/multipage-template.html#two?id=33

it's not supported officialy, there workarounds. in docs can read more abot (search passing parameters under known limitations).

quoting:

jquery mobile not back upwards query parameter passing internal/embedded pages there 2 plugins can add together project back upwards feature. there lightweight page params plugin , more featured jquery mobile router plugin utilize backbone.js or spine.js. newer plugin called routerlite keeps simple 4 methods: routeinit, routechange, pageinit , pagechange.

jquery-mobile routing

No comments:

Post a Comment