HTML anchor link with no scroll or jump
The whole point of an anchor link is to scroll a page to a particular point. So if you don’t want that to happen, you need to attach an onclick handler and return false. Even just adding it as an attribute should work: <a href=”#button1″ id=”button1″ onclick=”return false”>button 1</a> A side of effect of the … Read more