Skip to content Skip to sidebar Skip to footer

$.mobile.showpageloadingmsg() Is Not Working

I am new to the jquery mobile while making ajax request i use to display the loading message until getting the response from sever. I tried a lot for this but no use.can any one he

Solution 1:

Web-kit browser have a problem with programatical execution of jQuery Mobile loader, but it can be executed like this:

Show:

setTimeout(function(){
    $.mobile.loading('show');
},1);  

Hide:

setTimeout(function(){
    $.mobile.loading('hide');
},1);  

They just need a small delay caused by setTimeout or setInterval function.

Post a Comment for "$.mobile.showpageloadingmsg() Is Not Working"