$(document).ready(function (e) {
sample(); // Initialize the function
}
function sample() {
$(document).scroll(function (e) {
var scroll_top = $(window).scrollTop();
var docum
我试图存储一个元素的所有事件处理程序,然后解开它们,然后做一些事情,然后再次绑定,但通常处理程序的变量被修改为当我取消绑定处理空对象 var events = $._data(this.$element.get(0), 'events');
console.log(events); //here the variable events contains an object with th