This is really going to break things, if someone is updating the library to latest version. This is a very frequently used function and chances are, that, in a mobile web application its being used everywhere. Lets remind ourselves again that jQuery.mobile.changePage
is deprecated as of 1.4.0
and will be removed in 1.5.0
.
Now there are vaious ways to change page in a jQuerymobile application. Here are the 3 options to do the page change in the new API.
$(":mobile-pagecontainer").pagecontainer("change", "target", { options });
//or
$.mobile.pageContainer.pagecontainer("change", "target", { options });
//or
$("body").pagecontainer("change", "target", { options });
Here is the official document for reference
Happy coding.