首页 > 代码库 > make the innerText in the html element can not be selected

make the innerText in the html element can not be selected

approach

  style="-moz-user-select:none;" onselectstart="javascript:return false;"


onselectstart event is for ie

make the innerText in the html element can not be selected