How to show loading with overlay

How to show loading with overlay

I want to do some ajax stuff, and use $.mobile.showPageLoadingMsg when processing, how to show loading with overlay, I don't want to let user click the document when ajax happened.