Home >Web Front-end >JS Tutorial >JS method to cancel the jump effect by clicking on the link_javascript skills
The above code realizes our requirements. The link will only be used as an ordinary button. The main purpose here is to use the return false statement in the click event of the link, which can cancel the default action of the link