$("li").css("color", "#000")//把字体改为红色,根据自己喜欢的样式改
如要改多个样式:$("li").css({"color": "#000"},{"属性":"值"}.............)
})
css:body {
-moz-user-select: none /*火狐*/
-webkit-user-select: none /*webkit浏览器*/
-ms-user-select: none /*IE10*/
-khtml-user-select: none /*早期浏览器*/
user-select: none
}
js:
document.ondragstart = document.onselectstart = function(){return false}