SyntaxFix
Write A Post
Hire A Developer
Questions
$("html, body").scrollTop($(element).offset().top); // <-- Also integer can be used