var value = obj.getScrollTop(); obj.setScrollTop(value); obj.onScrollTopChanging = function(value){...}; obj.onScrollTopChanged = function(value){...}; obj.onScrollTopError = function(value){...};