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