我试着这样做,而js正在创建一个时间表...它显示旋转器加载..
我试着这样做,也试着使用这个插件$.mobile.pageLoading(); $.mobile.pageLoading(true); http://contextllc.com/tools/jQuery-showLoading
结果是一样的。它显示旋转后,他生成时间表..我不知道why...here是我想用它的地方。
$('#timeDropList').change(function() {
$.mobile.pageLoading(false);
$('div.addedEntry').remove();
drawTemplate();
});发布于 2011-07-27 01:36:35
您使用的是正确的jQuery移动版吗?看起来他们在1.0b1中去掉了pageLoading方法,取而代之的是两个独立的方法:showPageLoadingMsg和hidePageLoadingMsg。我最后看到的对pageLoading的引用是在1.0a4.1中。
发布于 2011-08-24 00:41:41
$('#home').live('pagebeforecreate',function(event){
alert('This page was just enhanced by jQuery Mobile!');
$.mobile.loadingMessage = "pagebeforeshow Page...";
$.mobile.showPageLoadingMsg();
});https://stackoverflow.com/questions/6833694
复制相似问题