focus on changing on e.target.nextElement.focus code example Example: javascript force view to focus on a div window.location.hash = '#tries';