I am using ASP.NET MVC4 with jQuery mobile to build a mobile app for iPad.
I have a page with a submit button. On submit, it goes to another page. There is some time lag before the 2nd page loads and during that time, the user sees a white page.
How to show a loading animation instead of the white page?
I used http://www.tkglaser.net/2012/02/waiting-spinner-for-long-running-form.html, but the loading animation is shown momentarily in addition to the "white" page, I need to show it "instead".
Any ideas how to trap the event after you submit the form but before the 2nd page actually displays?