This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Refreshing jQuery Mobile listviews  RSS feed

 
Rob Dennett
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!