jquery animate scrolltop top code example Example: jquery scroll to top of div animate $("#yourDivID").animate({scrollTop:0}, "smooth");