Hello,
I'm trying to listen for a scrolling event to do some things on a page. The code below works fine on a web page, but doesn't work on the device. Having trouble finding the answer to this problem. Thanks ahead of time:
var a = document.getElementById('flightDetails'), btn = document.getElementById('flightDetailsBtn'); a.onscroll = function() { btn.style.bottom = "0"; }; a.addEventListener('scrollstart', function(e) { alert('working'); alert(e); });
Thanks ahead of time.