摘要: JQuery 提供了两种方式来阻止事件冒泡。 方法一:event.stopPropagation(); $("#div1").mousedown(function(event){ event.stopPropagation(); }); 方法二:return false; $("#div1").mo 阅读全文
posted @ 2017-11-30 11:32 张宇凡20 阅读(685) 评论(0) 推荐(0) 编辑