azicchetti/jquerymobile-router

Are urls like this "#category/:id/items" possible?

fernandopg opened this issue · 1 comments

Hi, I had read the doc and didn't find if you can make urls like this:

"#category/:id/items"

where you can specify inside the url params and extract them in the handler!

Thanks a lot!

Hi,
unfortunately, backbone-style urls are not supported by jquery mobile.
In fact, it goes crazy whenever it sees a slash in the hash part of the url, because it thinks it is a remote ajax url.

Things may change in future versions of the framework.