For example, after using AJAX, I\'ll have a scrollable DIV. How to bind scroll events to it?
I\'ve tried:
$(window).on(\"scroll\", \".mydiv\", functi
Simple and easy way to listen to scroll event on dynamic loaded content
function LoadHistory(){ var pos = $(".scrollDiv").scrollTop(); if (pos == 0) { // your code goes in here } } 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复