I\'ve coded my way into a corner.
I need to call listview(\"refresh\") on a list, however it may not have been initialized at the point I am calling the
listview(\"refresh\")
For me the solution to this message was to add data-role="listview" to my ul element. I could then use the method .listview('refresh') in my event handlers.
data-role="listview"
ul
.listview('refresh')