Response title
This is preview!
If I am in page #home and I'm populating a <ul>
in #page2 with <li>'
s I inject dynamically, I want to refresh the jquery mobile list view before I transition to it, but when I try to do that it tells me that I can't refresh something that hasn't been initialized. So I try to just do $("#somediv ul").listview();
but that doesn't work either. The only way it works is if I changePage to #page1 ..but it is just that list is initialised in front of the viewer and it is not ready before he visits that page.
How can I get around this?
Javascript
© 2013 jQuery Foundation
Sponsored by and others.