+ 2
I wrote this jquery code to scroll down to a particular section but is not working using anchor tag as the button to click
$(document). ready(function(){ $('html, body,').animate({scrollTop: $('.classname'). offset().top}, 1000) });
1 Answer
+ 5
Why after "body" you added ","?