js 阻止冒泡 兼容性方法
function customstopPropagation(e){
var ev = e || window.event;
if (ev.stopPropagation) {
ev.stopPropagation();
$(document).on("click",".add",function(e){
//阻止冒泡
customstopPropagation(e);
})
} else if (window.event) {//IE window.event.cancelBubble = true;//IE } }

浙公网安备 33010602011771号