aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Refreshing jQuery Mobile listviews Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Refreshing jQuery Mobile listviews" Watch "Refreshing jQuery Mobile listviews" New topic
Author

Refreshing jQuery Mobile listviews

Rob Dennett
Ranch Hand

Joined: Dec 07, 2010
Posts: 77
I have a ul with the data-role="listview" attribute. When this gets updated, I call $('#myUlId').listview('refresh') as specified in the docs but it barks at me that "Uncaught cannot call methods on listview prior to initialization; attempted to call method 'refresh'". Why is listview uninitialized if the element has the aforementioned attribute?

Thanks,
Rob
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Refreshing jQuery Mobile listviews
 
Similar Threads
ExpandableList Auto refresh without touch
ListActivity
ListView and GUI decorate ?
list view problem
How to Refresh ListView in Android