jQuery禁用右键点击

2015-04-09 0 992
jQuery禁用右键点击
$(document).ready(function() {
//catch the right-click context menu
$(document).bind("contextmenu",function(e) {
//warning prompt - optional
alert("No right-clicking!");
 
//delete the default context menu
return false;
});
});

遇见资源网 js/jquery jQuery禁用右键点击 http://www.ox520.com/10670.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务