如何阻止向上冒泡

//阻止向上冒泡
$(document)
.on('click','.select4-results__option',function(event){ event.stopPropagation();})
.on('click','.conditions-box li',function(event){ event.stopPropagation();})
.on('click','.empty-div-css',function(event){ event.stopPropagation();})
.on('click','.select4-selection__choice__remove',function(event){ event.stopPropagation();});
posted @ 2016-11-26 15:41  RoperLee  阅读(428)  评论(0)    收藏  举报