Is there a way to automatically focus on an input field after clicking on a local href link?
For example, I have the following:
<a href="#bottom"> Sign up </a>
And at the bottom of the page :
<div id="bottom">
<input type="email" name="email" id="email" placeholder="email address">
</div>
I want it so that when someone clicks on "Sign Up," it scrolls directly to the bottom of the page and auto-focuses on the email input field for easy email address entry.
Thank you!