![](/img/trans.png)
[英]Jquery Mobile: How to style dynamically added list items when listview() function does not work?
[英]jQuery Mobile footer not fixed when listview dynamically added
我在頁面加載時動態構建一個列表視圖,並且頁腳設置為固定,但是當動態添加列表視圖時它不起作用。
我怎樣才能解決這個問題?
http://www.blueshoemobile.com/preview/buzzoffbase/categories.html?cat_id=96&cat_title=餐館
謝謝!
在腳本的開頭將$.mobile.autoInitializePage
設置$.mobile.autoInitializePage
false。 在以正確的角色動態生成DOM之后,調用$.mobile.initializePage()
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.