Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

pagebeforeshow handler dropping the ?parameters=inHash #6216

Closed
stefek99 opened this issue Jul 27, 2013 · 3 comments
Closed

pagebeforeshow handler dropping the ?parameters=inHash #6216

stefek99 opened this issue Jul 27, 2013 · 3 comments

Comments

@stefek99
Copy link

See: http://stackoverflow.com/questions/6629776/jquery-mobile-and-query-parameters-for-hashbang-navigation#comment25581526_6629927

  $(document).delegate('.ui-page', 'pagebeforeshow', function () {
    console.log(window.location.hash);
    console.log(window.location.href);
});

With 1.3.1 it doesn't work (drops the parts after ?)
With 1.2.1 and 1.7.2 it works.

JS fiddle to follow.

@jaspermdegroot
Copy link
Contributor

@stefek99

I am closing this ticket as duplicate of #2859 and will add a comment there.

@stefek99
Copy link
Author

Sorry for duplicate, I actually did try to find "search button"...

@jaspermdegroot
Copy link
Contributor

@stefek99 - No problem. Filtering by label, in this case "query params", makes it often easier to find tickets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants