-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[FEATURE] Parameters for pages #471
Comments
Very useful. One more vote for this feature. I would like to have this "querystring" as an associative array in the pageshow event. |
I'm totally for this feature. A simple way to get params on new page in javascript, should be wonderfull ! |
Closing and moving to the feature requests page for post-1.0: |
Is there any chance this could be reconsidered for being included already for 1.0? Something like "#page?id=1" or "index.html?id=1#page" (which looks a bit strange, but represents the URL standard) would be very, very appreciated. To be honest, I don't consider this to be a huge change in the current navigation structure (since it's optional) neither do I consider the implementation effort for this to be too high. There are plenty of threads in the forum showing that people need this, or better said they expect it to be possible as using GET parameters is part of web coding. Thanks. |
IJay - Can you provide more details on what you're looking for so we can give it some thought? |
Sure. To make it simple I'd like to break it down to one certain use case: Now when calling the details page a device id needs to be passed so the according device information can be retrieved. Thank you very much for listening and taking suggestions seriously! |
Just to make it clear: It's not about only one parameter but about making it flexible to use parameters in general. So something like this should be possible as well: I guess the easiest way to implement this would be to simply ignore everything between a '?' and a '#' in the URL (or if there's no '#', simply everything after a '?'). |
I've written a simple controller/router for jquery mobile that also provides support for parameters in the url, among other things (through an ugly hack of binding a custom live event to anchors...). The project goal is providing a jqm-event-aware controller, but it can be used just to enable parameters for pages. |
Hi all, I've posted a comment on the #2082 that will hopefully help you out with this. #2082 (comment) |
I haven't spelunked through the whole codebase yet, but this is a feature that would be really helpful.
Scenario:
Currently we can't do this b/c we can't have a "child?id=123" page for every single ID on "index.html". If we could do that, we could also link to the full url directly ("index.html#child?id=123") to get that "child" resource.
If there's not already a way to do this, I'd be willing to help out on this feature if anyone is 'int.
The text was updated successfully, but these errors were encountered: