首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

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

2013-02-27 
jquery 获取 文档 行列 不是鼠标的位置比如:div ididdiv idid0This is some sample text. Selec

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>


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


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

热点排行