popup() (alpha) with dynamic listview not working
I cannot seem to get the new popup() to work with a dynamically generated listview. When I try to run listview() on the <UL> I get errors in firebug:
When I try $page.page(); I get "Node cannot be inserted at the specified point in the hierarchy"
When I try $mUl.listview(); I get: "c[0] is undefined"
Here is a jsfiddle link of the approximate code. The offending lines I tried are commented out in function displayPopup():
The problem is that the listview is not formatted.
http://jsfiddle.net/jjunkin/rh55X/30/
Wonder if anyone has any ideas on what I am doing wrong. Thanks for any help!