简体   繁体   中英

jQuery Mobile footer not fixed when listview dynamically added

I am dynamically building a list view when a page loads and have my footer set to fixed but it doesn't work when the listview is dynamically added.

How can I fix this?

http://www.blueshoemobile.com/preview/buzzoffbase/categories.html?cat_id=96&cat_title=Restaurants

Thanks!

Set $.mobile.autoInitializePage to false in the beginning of your script. After dynamically generating the DOM with the correct roles, call $.mobile.initializePage()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM