BaseConfig.preventDefault = function(event){
if(window.event){//IE中阻止函数器默认动作的方式
window.event.returnValue = false;
}
else{//阻止默认浏览器动作(W3C)
event.preventDefault();
}
}
阻止默认浏览器动作
猜你喜欢
转载自blog.csdn.net/boenwan/article/details/81114280
今日推荐
周排行