Is there a simple way to show the spinner ($.mobile.showPageLoadingMsg()) on just one element/region ?
I’m loading this element’s content via AJAX, so until it’s finished I have to block it and show this spinner.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m afraid you can’t. Take a look at the docs, you can just customize the message or hide the spinner, but not making it fit to a element.
If you just want to show a spinner on some element loading, use the
beforeSendandcompleteoptions of theajaxmethod to hide/show it