/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<a onclick="jQuery('html, body').animate( { scrollTop: 0 }, 'slow' );" href="javascript:void(0);"> Go to top </a>