Home >Web Front-end >JS Tutorial >Various solutions for A tag to trigger onclick event without jumping_javascript skills

Various solutions for A tag to trigger onclick event without jumping_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:31:092785browse

When developing web pages, we often encounter the following situations:

1. A label only needs to trigger onclick behavior;
2. The performance must have a mouse pointer display, or something similar. The visual effect of the label.
For example, when performing a delete operation, in order to avoid misoperation, we need to pop up a dialog box to let the user confirm whether to delete. Therefore, we often use the link instead of

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