SyntaxFix
Write A Post
Hire A Developer
Questions
you can use the below code to bring focus to a div, in this example the page scrolls to the <div id="navigation">
<div id="navigation">
$('html, body').animate({ scrollTop: $('#navigation').offset().top }, 'slow');