读书人

jquery 获取 文档 队列 不是鼠标的位置

发布时间: 2013-02-27 10:48:11 作者: rapoo

jquery 获取 文档 行列 不是鼠标的位置
比如:


<div id="id">
<div id="id0">
This is some sample text. Select this text. This is some sample text. Select this text. This is some sample text. Select this text.
</div>
<div id="id1">
This is some sample text. Select this text. This is some sample text. Select this text. This is some sample text. Select this text.
</div>
<div id="id2">
This is some sample text. Select this text. This is some sample text. Select this text. This is some sample text. Select this text.
</div>
</div>


我想在上边文档中,鼠标点击的任何文档位置加入 一个图标 , 然后保存 图标的位置在数据库中, 这样,需要知道鼠标点击了文档的行列位置. 注意: 文档 和 图标位置 是 分开保存的.


[解决办法]
靠自己永远强大!
[解决办法]
看你发的那个帖子。。

读书人网 >JavaScript

热点推荐