标签:io on cti ad window c text jquery return
1、禁止鼠标右键功能
$(document).ready(function() {
$(document).bind("contextmenu",function(e) {
alert("sorry! No right-clicking!");
return false;
});
});
2、禁止键盘F5刷新
$(document).ready(function() {
$(document).bind("keydown",function(e){
e=window.event||e;
if(e.keyCode==116){
e.keyCode = 0;
return false;
}
});
});
标签:io on cti ad window c text jquery return
原文地址:http://www.cnblogs.com/fengyingwang/p/4083361.html