I’m trying to come up with a way to navigate to HTML anchors within the same page without reloading. Right now I’m just using:
header("Location: #anchor_name");
The problem with that is it reloads the page. I’d really like to avoid using JavaScript if I can but I don’t know if there’s any other way?
Thank you!
PS – I know I need to use the full URI in the redirect – just abbreviated here for simplicity.
You could use js: