在要让文本不能被选中的TD内加入
onselectstart="return false" onselect="document.selection.empty()"

<table>
<tr><td onselectstart="return false" onselect="document.selection.empty()">宝宝(不能选)</td></tr>
<tr><td>宝宝(可以选)</td></tr>
</table>

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-10-10
相关资源
相似解决方案