我试图让一个元素出现在某个滚动发生后我正在使用 scrollTop() 但我总是得到 0。
$(document).on("mousewheel", function(){
                   console.log($(window).scrollTop());
               });
而不是window我已经尝试过body,但是对于所有这些#wrapper,document我得到一个常数 0。我缺少什么来获得正确的阅读?(#wrapper没有设定高度,只有宽度。)