Sometimes you may want to show the loader and hide as you see fit. I recommend to use the default one instead of adding your own loading image.

To show

 
$.mobile.showPageLoadingMsg()

To hide

 
$.mobile.hidePageLoadingMsg()

Image

Sam Deering Sam Deering
Sam Deering is a Front-end Web Developer who specialises in JavaScript & jQuery. Sam is driven and passionate about sharing his knowledge to educate others.

No Reader comments

Related books & courses
Available now on SitePoint Premium

Preview for $1