SyntaxFix
Write A Post
Hire A Developer
Questions
Easy way to achieve the scroll of page to target div id
var targetOffset = $('#divID').offset().top; $('html, body').animate({scrollTop: targetOffset}, 1000);