/ Published in: jQuery
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function() { $('a[href=#top]').click(function(){ $('html, body').animate({scrollTop:0}, 'slow'); return false; }); });
URL: http://www.electrictoolbox.com/jquery-scroll-top/
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)