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
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
Hello! Do you use "Render all pages in one HTML file (jQuery Mobile multi-page template)" option on App Settings--General tab?
To define current page use the following code:
code$.mobile.activePage.attr("dsid")/code
which returns screen name