onselectstart="return false;"当我们已经在 html 页面中    时,有谁知道如何使用 javascript 使特定的 div 可选(复制/粘贴)
    <head>
           <script type="text/javascript">              
                function DisableSelection(){
                    var srcType = event ? ( event.srcElement ? event.srcElement.tagName: null ) : null;
                        if(srcType && ( srcType == "text" || srcType == "textarea" ) )
                        {
                        return true;
                        }
                    return false;
                    }
            </script>
    </head>
<body onContextMenu="return false" onselectstart="return DisableSelection();"/>