White page appears during page change using window.location = "otherpage.html"
and happening only in the mobile but not desktop.
Any solution to this?
White page appears during page change using window.location = "otherpage.html"
and happening only in the mobile but not desktop.
Any solution to this?
It turns out that I have disabled the jquery mobile's ajax loading by using data-ajax="false"
and directly use window.location = "otherpage.html"
. This causes the whole page to be fully reloaded and therefore we can see a white screen during loading.
The correct way should be
$.mobile.pageContainer.pagecontainer("change", "target", { options });