$ .mobile.showPageLoadingMsg()不会旋转

时间:2012-04-06 15:15:54

标签: jquery-mobile spinner

我遇到同样的问题this person describes。 showPageLoadingMsg()上的微调器永远不会旋转!没有人回答他的问题,所以我没有什么可继续的。 A有人有什么想法吗?

    $.mobile.loadingMessageTextVisible = true;
    $.mobile.loadingMessage = "please wait...";
    $.mobile.showPageLoadingMsg();

编辑:这是我用来在我的页面中包含jquery mobile和jquery的代码:

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>   
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>

1 个答案:

答案 0 :(得分:3)

我升级到jquery mobile 1.1.0,现在一切正常。以下是我用于其他可能遇到此问题的代码:

标题中的

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>

js:

$.mobile.loadingMessageTextVisible = true;
$.mobile.loadingMessage = "please wait...";
$.mobile.showPageLoadingMsg();
相关问题