JQuery Mobile showPageLoadingMsg will not work in my application. The following code just produces the spinning wheel with no text:
$.mobile.showPageLoadingMsg("b", "please wait...");
I can get just the message by adding true as the last argument:
$.mobile.showPageLoadingMsg("b", "please wait...", true);
But I cannot get the the wheel AND the message. to appear at the same time
Do I need to have my own theme or… what am I missing?
Heres an example on JSFiddle http://jsfiddle.net/ashanova/VBavX/18/
You need to set the loadingMessageTextVisible property to true. Something like:
From the docs:
loadingMessageTextVisible boolean, default: false
Whether the text should be visible when a loading message is shown. The text is always visible for loading errors.
I think this property and the showPageLoading method is somewhat confusing and should be update or fix the showPageLoading appropriately.
Here is your updated example http://jsfiddle.net/VBavX/21/