js 阻止冒泡事件
1、js 方法
var oTc =
document.getElementByIdx_x("tanchu")
oTc.onclick =
function(ev){
var ev = ev || window.event;
ev.cancelBubble = true;
}
2 jquery 方法
$("#tan_ceng_div").click(function(event){
event.stopPropagation();
return false;
})
2 jquery