My code scrolls the user at the bottom of the page:
var $elem = $('body'); $('html, body').animate({scrollTop: $elem.height()}, 800);
How can it be changed to force the user to go to the part of the page where there is an h3 tag with the identifier "myTitle":
<h3 id="myTitle">Hello</h3>
source share