how to get scroll event on multiple select in ipad

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

【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”

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.

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部