Trying to change a Page when a service has an error?
If Im running a service (a json get response) and that service is being invoked on Show Page, but when theres an error i want to change that page to go to another page and I wrote this JS, but doesnt work (it works fine for a popup):
$.mobile.changePage("no_active_loads.html", {transition: "page"});
Is there something wrong with this JS?