function stopHandler(event){
window.event?window.event.cancelBubble=true:event.stopPropagation();
}
// function clickParent(event) {
// //stopHandler(event);
// alert('parent is click');
// }
js阻止事件冒泡
最新推荐文章于 2023-08-15 10:48:57 发布