I have written an exernal js file and in it is one function. In this function I am trying to call $.mobile.showPageLoadingMsg(); How would I do this? I have tried the following and it doesnt work:
function test() {
$.mobile.showPageLoadingMsg();
}
The order of script inclusion on the html is shown below:
<script src="jquery.mobile-1.1.1.min.js"></script>
<script src="jquery-1.7.2.min.js"></script>
<script src="cordova-2.0.0.js"></script>
<script src="master.js"></script>
and master.js is the one that makes the call.