So, I'm working on a site at the moment that has a jquery onClick function. Well, the link is a simple href="#"
.
Well, every time it is clicked,
- The # sign appends to the URL
- The site navigates to the top of the page
Is there a better alternative, or am I doing something wrong?