先引用jquery文件,然后在页面中添加如下js代码: $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });