1

I want to disable the loading message in the header only when transitioning between jQuery Mobile pages.

Alternatively, if I can change the default "loading" text, that would also suffice.

I have tried

$(document).bind("mobileinit", function(){
   $.mobile.hidePageLoadingMsg();
});

also $.mobile.pageLoading( true );

you can see an example here

rlemon
  • 17,518
  • 14
  • 92
  • 123

2 Answers2

3

See the docs for mobileinit and use loadingMessage to set the default.

I believe you can programmatically change it with $.mobile.loadingMessage as well.

Ben Wilson
  • 545
  • 3
  • 5
  • 1
    http://jsfiddle.net/rlemon/uRhGd/16/ check that example. `$.mobile.loadingMessage = "";` still produces that small blip where there is a new message being displayed. I wish there was a way to slow down the page transition so you could see it clearer. – rlemon Sep 22 '11 at 01:13
  • yes still stuc on this as well... been searching stackoverflow for a good answer. still searching lol – Jake Oct 29 '11 at 21:22
0

Have you tried setting loadingMessage to false? http://jquerymobile.com/demos/1.0a4/docs/api/globalconfig.html

Arturo Molina
  • 1,051
  • 11
  • 21