jdb1a1
jdb1a1

Reputation: 1045

$.mobile.showPageLoadingMsg() does not spin

I am having the same problem this person describes. The spinner on the showPageLoadingMsg() never spins! Nobody ever answered his question, so I've got nothing to go on. A Does anybody have any ideas?

    $.mobile.loadingMessageTextVisible = true;
    $.mobile.loadingMessage = "please wait...";
    $.mobile.showPageLoadingMsg();

Edit: Here is the code that I am using to include jquery mobile, and jquery in my page:

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>   
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>

Upvotes: 0

Views: 1628

Answers (1)

jdb1a1
jdb1a1

Reputation: 1045

I upgraded to jquery mobile 1.1.0 and everything seems to be working fine now. Here is the code I used for anybody else that might come across this:

in the header:

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>

the js:

$.mobile.loadingMessageTextVisible = true;
$.mobile.loadingMessage = "please wait...";
$.mobile.showPageLoadingMsg();

Upvotes: 3

Related Questions