Text after "div class =" itemprop = "text">
I have an entrance page and want to show call spinner to an ajax function to load the data of the web page when that It is finished, this chagePage calls and everything is fine, except that no spinner ever shows up. I got time out with other questions, it works if I'm debugging and moving forward but not live I have also tried to put in ajax beforeSend.
$ ('# loginButton'). Live ('click', function (e) {$ .mobile.showPageLoadingMsg (); settimeout (initialogene (), 300);}); Thanks!
if (success) {// load home page $ .mobile.changePage ("# seconds"); LoadList (); // load list view} FYI here are the settings I am using
$ (document) .bind ("mobileinit", function () {$ .mobile.defaultPageTransition = 'none', $ .mobile.buttonMarkup.hoverDelay = 250; $ .mobile.allowCrossDomainPages = true $ .support.cors = true $ .mobile.pushStateEnabled = false; $ .mobile OrientationChangeEnabled = true;});
You can use it broadly: < Pre> $ (document) .ajaxStart (function () {$ .mobile.showPageLoadingMsg ();}) ajaxStop (function () {$ .mobile.hidePageLoadingMsg ();})
Comments
Post a Comment