Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

Online and offline events

Hi,
Are the offline and online events related to one specific page or the whole app? I have such events set on one of my pages, and I think they are dispatching on other pages.

Is there a way to detect the current page?

Thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Online and offline events

Hello! Do you use "Render all pages in one HTML file (jQuery Mobile multi-page template)" option on App Settings--General tab?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Online and offline events

To define current page use the following code:
code$.mobile.activePage.attr("dsid")/code
which returns screen name

Return to “Issues”