I\'m currently exploring jQuery Mobile to develop a mobile version of a dashboard with ordertracking information. And what the plan is, is to use a simple unordered list with al
Thank you
I'm using this code with an extension. I don't want to write each time this #no-result li.
$(document).delegate('[data-role="page"]', 'pageinit', function() {
var $listview = $(this).find('[data-role="listview"]');
$listview.append('
');
$listview.listview('refresh');
$(this).delegate('input[data-type="search"]', 'keyup', function() {
if ($listview.children(':visible').not('#no-results').length === 0) {
$('#no-results').fadeIn(500);
} else {
$('#no-results').fadeOut(250);
}
});
});