I want to be able to scroll to a target when a button is pressed. I was thinking something like this.
Button
I have done something like what you're asking just by using jQuery to find the element (such as document.getElementById(...)) and using the .focus() call.
document.getElementById(...)
.focus()