Hello I have 5 links that needs to refer to another section below in the same page (this sections are different depending the link and are shown using JS changing the displays).
The main issue is if a click 2, 3 or 4 times this links then the page get stuck 2, 3 or 4 times before I can scroll to top again. I mean, depending how many times I click (changing the displays) the page gets stuck that number of times too. Any ideas why this is happening and how to avoid it? I have tried a few things already but not getting it fixed. Thanks
<a href="#div">
<a href="#div">
<a href="#div">
<a href="#div">
<a href="#div">
<div id="div"></div>
I have tried to use different names for every link and also changing the place of the div referred. Also changing div to span. Nothing different happened.