摘要: 光标控制器 这里是文本框这里是一个可编辑层 阅读全文
posted @ 2014-03-10 22:00 Crowley 阅读(1602) 评论(0) 推荐(0) 编辑
摘要: 一个很全面的html dom APIhttps://developer.mozilla.org/en-US/docs/Web/API/SelectionIntroduction(简介)Selection is the class of the object returned bywindow.getSelection()and other methods. It represents the text selection in the greater page, possibly spanning multiple elements, when the user drags over stat 阅读全文
posted @ 2014-03-10 21:57 Crowley 阅读(929) 评论(0) 推荐(0) 编辑