Possible Duplicate:
Show Page Loading Spinner on Ajax Call in jQuery Mobile
have a JQuery mobile UI, how to show loading when page is not fully showed?
//show    
$.mobile.showPageLoadingMsg();
//hide
$.mobile.hidePageLoadingMsg();
http://jquerymobile.com/test/docs/api/methods.html
This API changed again in JQM 1.2. In that version $.mobile.loading('show') and $.mobile.loading('hide') should be used instead.
Docs: http://jquerymobile.com/demos/1.0a4.1/#docs/api/methods.html
$.mobile.pageLoading (method)
Show or hide the page loading message, which is configurable via $.mobile.loadingMessage. Arguments: Done (boolean, defaults to false, meaning loading has started). True will hide the loading message. Examples:
//cue the page loader           
$.mobile.pageLoading(); 
//hide the page loader          
$.mobile.pageLoading( true );
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论