阅读背景:

如何使用内联onclick属性停止事件传播?

来源:互联网 

Consider the following:

考虑以下:

<div onclick="alert('you clicked the header')" class="header">
  <span onclick="alert('you clicked inside the header');">something inside the header</span>
</div>
<div onclick=



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: