So I have links that have an href value to load ajax and an onclick value to link to the top of the page. When I click the links both the ajax content loads and the url show a r
You use the attribute href to point to another anchor (which may defined either by the name or id attribute.
For example:
Menu
a001
paragraph text ...
a002
paragraph text ...
a003
paragraph text ...
To note, you can also use id instead of name like so...
Jump to a001
...
a001
Read more about it here