![](/img/trans.png)
[英]Jquery mobile page seen much after the pageshow event on an android phone
[英]refreshing a page in jquery mobile after a pageshow
我正在嘗試刷新jQuery Mobile中頁面顯示的頁面
嘗試過的代碼:
$(document).on("pageshow","#schoolperformance", function(){
showLoadMsg : false,
reloadPage : true,
});
但是在控制台中查看時,我不斷遇到意外令牌錯誤,該錯誤指向該部分{reload page:true}
考慮使用pagecontainer( http://api.jquerymobile.com/pagecontainer/#method-change )。
例如:
$( ":mobile-pagecontainer" ).pagecontainer(
"change",
"#schoolperformance",
{ reload : true, showLoadMsg : false }
);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.