how to get scroll event on multiple select in ipad

zhangfei56 发布于 2016/01/18 10:29
阅读 179
收藏 0

select element in ipad resembles a pop-up menu, I bind scroll event on it,  but it can not fire. how can i get scroll event?

<select multiple size="4" id="select1">
        <option>1</option>
        <option>2</option>
        <option>3</option>
        <option>4</option>
        <option>5</option>
        <option>6</option>
    </select>
    

      <script>
        document.getElementById("select1").addEventListener("scroll", function(event){
            alert("scroll event");
        })



It can work in pc.

加载中
返回顶部
顶部