jquery/jquery-mobile — Issue #3384: $.mobile.activePage empty in 'pageinit'
Author: nisc
Created: 2012-01-05 19:18:47+00:00
State: open

`$.mobile.activePage` does not become available before the `pagebeforeshow` event has fired.

It is empty in `pagecreate`, `pageinit`, etc.

This makes my life pretty hard. Given the current structure of my project, I have to resort to doing one-time stuff in `pagebeforeshow` (which gets executed multiple times).