Ive created a function that I use to delete some data. It typically takes about 5-10 seconds or so. I really would like to add a loading spinner to the function.
function RefreshDataSubmit() { $.mobile.showPageLoadingMsg("a", "Loading"); //Deletes app data deleteAppData(); $.mobile.hidePageLoadingMsg(); } I thought the above showPageLoadingMsg/hide would work however its not ever being displayed.
I'll post the solution if I find it.
Thanks for all the help!