//js处理时间
//得到事件
var e = arguments[2] || window.event;
if(e.stopPropagation) { //ff阻止冒泡方法
e.stopPropagation();
} else {
e.cancelBubble = true; //IE阻止冒泡方法
}
jquery阻止冒泡的方法
$(this).children("span").children("strong").children("a").bind("click",function(event){
event.stopPropagation(); // 阻止事件冒泡
});
调用的页面代码:
infra.module.WorkPlatform.xClick(this,true,event)
1126

被折叠的 条评论
为什么被折叠?



