2012-04-04 10 views
0

Ich benutze Iscroll4 in meiner Anwendung. Ich habe ein Problem mit iScroll, das Drop-Down-Listen (Kombinationsfeld) unbrauchbar gemacht hat, wenn es gleichzeitig verwendet wurde. Ich habe versucht, wie sie (http://groups.google.com/group/iscroll/browse_thread/thread/5b2fbad6aa667907#) hier erwähntKombinationsfeld funktioniert nicht nach Laden/Verwenden von Iscroll in Seite

$(document).ready(function() { 
var destinations_scroll, accounts_scroll; 
    function loadingIscroll() { 
     accounts_scroll = new iScroll('accounts_container'); 
     destinations_scroll = new iScroll('destinations_container', { 
      checkDOMChanges: true 
     }); 
     setTimeout(function() { 
      destinations_scroll.refresh(); 
     }, 0); 
    } 
    document.addEventListener('touchmove', function(e) { 
     if (e.target.tagName != "SELECT") { 
      e.preventDefault(); 
      e.stopPropagation(); 
     } 
    }, false); 
    addEventListener('DOMContentLoaded', loadingIscroll, false); 

}); 

Aber noch Auswahlbox (Combo-Box/Drop-down) funktioniert nicht. Irgendwelche Vorschläge?

Antwort