Javascript 单击shift+;时出现Internet Explorer浏览器问题;鼠标左键单击,文本自动高亮显示

Javascript 单击shift+;时出现Internet Explorer浏览器问题;鼠标左键单击,文本自动高亮显示,javascript,jquery,html,css,internet-explorer,Javascript,Jquery,Html,Css,Internet Explorer,我使用多个选择选项呈现html表。在按住shift键并单击鼠标左键的同时,td元素文本仅在ie(Internet Explorer)浏览器中自动高亮显示(chrome、firefox、safari都可以正常工作)您能帮我解决这个问题吗 谢谢使用下面的代码工作正常 document.onselectstart = function() { return false; } document.onmousedown = function() { return false; } 谢谢添加您的代码

我使用多个选择选项呈现html表。在按住shift键并单击鼠标左键的同时,td元素文本仅在ie(Internet Explorer)浏览器中自动高亮显示(chrome、firefox、safari都可以正常工作)
您能帮我解决这个问题吗


谢谢

使用下面的代码工作正常

document.onselectstart = function() { return false; }
document.onmousedown = function() { return false; }

谢谢

添加您的代码