Jan 15, 2012

Data-filter duplicate when I use collapsible in QJM

Yesterday I wrote the following code:



and the result is the following






strange there is a big bug in JQM.
I have not found a solution but I have found a work around in this way:

$(function(){
 
       
    $('#contatti').live('pageinit',function(){
        
        // don't create duplicate/double filter
        $(".ui-listview-filter").remove();
        
        $('#productList').listview('option', 'filter', true);
 
        $('#productList').trigger("listviewcreate");
 
    });
 
});


and now I have only one filter on my screen.

0 commenti: