0
我的函數來獲得一個微調加載頁面加載似乎沒有工作。showPageLoadingMsg不工作
$('#HomeViewPage_ColleagueLocation').live('pagebeforeshow', function(toPage, fromPage){
$.mobile.showPageLoadingMsg("a", "No spinner", true);
setTimeout("test()", 2000);
GetAllUsersByTeam();
GetAvailableTeams();
$('#colleagueLocationLabel').text(CurrentLocationName);
});
function test(){
alert("works");
}
頁面加載正常,警報消失,但我從來沒有看到「無微調」消息。 順便說一句我正在使用IE9。 爲什麼不能正常工作?