JavaScript
Article

jquery mobile 2 show loading image on form submit

By Sam Deering

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
Meet the author
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

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.