Home > Web Front-end > JS Tutorial > 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
Release: 2016-05-16 17:02:41
Original
1286 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template