What's the difference between:
window.scroll(0,200);
and
$(window).scrollTop(200);
Besides the fact that one of them uses jQuery and the other does not, what is the difference? Does the scroll animate while the other doesn't? Will it work faster than the other?
source
share