javascript - Read character on mouse select
问题描述
Hi I want to read the text from particular position some where with in the div.
eg:
<div>Click ME I am here</div>
When I draw a rectangle over a text it should read the text behind the rectangle. Just like selecting the text. But not in the same way.
For example
in this image text should be displayed.
解决方案
推荐阅读
- vba - VBA打开Excel文件,刷新bloomberg数据,保存,关闭
- matrix - How do you get the mean of a Eigen::MatrixXd column?
- laravel - 如何修复 Laravel 上的 php7.1-fpm.sock 故障
- azure-active-directory - 使用自定义身份提供商注册的用户缺少用户名
- javascript - 如何以最少的代码行一次显示一个 div?
- react-native - 如何在一段时间后更新进度条,并在收到某些数据时重置?
- forms - 如何在 HTML 表单中正确添加文本区域字段
- javascript - 如何使用 JavaScript 从字符串中删除重复的 CSS 样式?
- html - CSS 表格“借用”另一个表格的样式
- ruby-on-rails - 在 Rails (Mac) 中安装 Dashing gem 时出错