/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$( 'html, body' ).animate( { scrollTop: 0 }, 0 ); // or $( 'html, body' ).animate( { scrollTop: 0 }, 'slow' );