W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <script type="text/javascript"> function getEventType(event) { alert(event.bubbles); } </script> </head> <body onmousedown="getEventType(event)"> <p>Click somewhere in the document. An alert box will tell if the event is a bubbling event.</p> </body> </html>