jquery mobile 2 show loading image on form submit

Sam Deering
Tweet

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

Free JavaScript: Novice to Ninja Sample

Get a free 32-page chapter of JavaScript: Novice to Ninja

No Reader comments