document.selection 表示当前网页中的选中内容。
方法有:
- clear 清除选中的内容
- empty 取消选中
- createRange 返回 TextRange 或 ControlRange 对象
- createRangeCollection 不支持
属性有:
- type 选中内容的类型
- typeDetail 不支持
|
document.selection 表示当前网页中的选中内容。 方法有:
属性有:
文章评论
|
栏目最新文章
|