SyntaxFix
Write A Post
Hire A Developer
Questions
$("#YOUR-BUTTON").on('click', function(e) { e.preventDefault(); $('html, body').animate({ scrollTop: $("#YOUR-TARGET").offset().top }, 300); });