日期:2014-05-16  浏览次数:20303 次

阻止js方法继续执行
1.阻止js方法继续执行,功能兼容IE,fireforx,chome的js方法
if (event.stopPropagation){
event.stopPropagation();
}else if (window.event) {
window.event.cancelBubble = true;
}
2.运用
防页面刷新