Skip to content

Instantly share code, notes, and snippets.



Created May 31, 2010
What would you like to do?
function scrollToTop() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.