This is my html:
<ul data-role="list-view" data-filter="true"></ul>
My JS loads the ul with data and then I call listview().
$('#page').live('pagebeforecreate', function(){
// My Ajax code
});
$('#page').live("pageinit", function(){
$('#page ul').listview();
});
That works except the search bar at the top doesn't appear. What am I missing?