I'm working on a jQuery Mobile-based application, and have written a couple of plugins that I'd like to package up for wider consumption. I couldn't find an official way of doing this, so thought it might be best to put into experimental.

So I looked there, and all of the files come with sample index.html files which don't run properly in my cloned repo. They do this weird thing though, which I have never seen before:

I'm attempting to pass parameters from one page (ex. with a list view of items, each with an id) to the sub-page corresponding to each item. I need to pass the id to the sub-page. I'm attempting to do this with get-style parameters resulting in the following URL:

.../index.html#item.html?id=1898432

I have a pageshow callback: $('[data-role=page]').live('pageshow') which triggers when the page is loaded. However, when this event fires, the window.location isn't updated to have the extra parameters in it.