jquery/jquery-mobile — Issue #3060: RC3 pagechange events not triggered with deeplink
Author: offsky
Created: 2011-11-15 18:23:02+00:00
State: open

If you load a jquery-mobile site with a hashtag in the url, the pagebeforechange and pagechange (and possibly pagechangefailed) events are not being triggered on the deeplinked page.

So, if you deeplink to a page that does not exist yet, javascript never has a chance to create the page being linked to. The result is that nothing is displayed and the user sees a blank screen.

With RC2, it would fire pagebeforechange (but not pagechangefailed) on the non-existent page, which gave us the opportunity to create it in time.

To test, create this page and then access it with some random hashtag: http ://example.com/mytestpage.html#doesntExistYet.

```

No pages :o

```