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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With