load event: class ui-page-active set
Hallo,
yesterday I used jQuery Mobile to enable my pages for swiping from one to another:
http://www.ulrichbangert.de/orchid/spathoglottis-kimballina-hybr.php
Works fine so far, but one issue is left: I use the pageinit event to execute javascript when the page is loaded. Unfortunately the class ui-page-active is not yet set when this event is fired. Is there another event handler I can use where this class is set when it fires?
To work around my problem I preload next and previous page in the swipe events. However this is too late as the loading is executed only when swiping starts. In order to improve this I would need the o. m. event handler.
Best regards - Ulrich