Home  >  Article  >  Web Front-end  >  JS method to cancel the jump effect by clicking on the link_javascript skills

JS method to cancel the jump effect by clicking on the link_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:02:411207browse

Copy code The code is as follows:




Script Home



Delete


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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn