I am having trouble changing pages in the application (Intel App Framework, Cordova in the newest XDK). I have tried 3 approaches:
document.location.href = "#id_of_page_i_want_to_change_to"; window.location.href = "#id_of_page_i_want_to_change_to"; activate_page( "#id_of_page_i_want_to_change_to"); Tried it with/without the ".href" in the left side; on the right side: with/without hash, with/without index.html before id, and by the class name.
It either doesn't work or navigate to wrong (how?) page...
What I am trying to achieve is to initialise leaflet map (cannot move that part to the document.ready()) and pass some data before displaying another subpage.