A BUG of jQuery Mobile: When ajax and its own back are not used to return, that is: when the browser back button is clicked, the page will be loaded from the cache. At this time, the annoying loading animation comes out and never stops. disappear. I found many solutions on the Internet, but after searching for a long time, I couldn’t find any useful ones. Today, I suddenly thought of taking a step back and directly use the jqeury-mobile class library.
Open it with an editor and
found it. The method of displaying pageLoading, the definition of showPageLoadingMsg:
Then add a code, if("".length<5)return; to make this method invalid.