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
you can simply create a global variable
var is_mobile_init = false;
at the top of your scripts. then set it to true after you include jquery mobile.
then before refreshing write,
if (is_mobile_init)
$myUL.listview('refresh');
this way, you don't need to keep track of all the various classes and it is intuitive