title: $.mobile.showPageLoadingMsg() is not working
body: <p>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 help me out from this issue thanks in advance..</p>
  
  <p>bellow ajax call code</p>
  
  <pre><code>        $.ajax({ 
      url: "url", 
      type: "GET",
      contentType: "application/json; charset=utf-8",                  
      beforeSend: function(){
       setTimeout(function(){
       $.mobile.loading('show');},1);  
       },
       success: function(msg) {
        // $.mobile.loading('hide');
       $.each(msg.empWall, function() {   
        alert(this.name);          
        });
        },
        error: function(err) {
        alert(err.toString());
        },
        complete: function(){
        setTimeout(function(){
       $.mobile.loading('hide');
       },1);  
       });
  </code></pre>