Home  >  Article  >  Web Front-end  >  javascript prevents mouse events from being triggered_javascript tips

javascript prevents mouse events from being triggered_javascript tips

WBOY
WBOYOriginal
2016-05-16 19:07:061061browse

An onclick event is added to a div, and there is a hyperlink a in it. Can the event of the div not be triggered when the hyperlink is clicked?


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute ]
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