Is there any way to check if user has selected the entire text in javascript?

前端 未结 0 427
心在旅途
心在旅途 2021-01-21 07:03

If you have a html tag with text inside, can you check if the text of the entire html tag is selected? I can use javascript or j-query to solve this.

For example, can we

相关标签:
回答
  • 消灭零回复
提交回复
热议问题