注意大小写
var r = document.selection.createRange();
alert(r.text);
var r = document.selection.createRange();
alert(r.text);
解决方案 »
- 请问,我录了一段swf的视频,如何下载后在web窗口中播放?
- 小弟跪求给位大侠知道怎样才能把输入的字符一个一个的分开来啊,急急急……
- 问个apache的URL Rewrite问题
- php 数据库 导出数据 再赋值的问题,一下说不清楚,高手进来看看吧。谢谢了
- PHP中可不可以这样设置所有访问者的变量
- Call to a member function on a non-object,急在线等,分不够再加
- socket发送mail的问题
- 请问PHP和ASP哪个比较好一点?
- 怪事,我的session好像坏掉了,竟然存不了东西了???
- mysql_query()函数写在html中就会报错,写在外面就不行,求解决方法。
- 全局变量,困惑!
- 求一种高效排序方法!
selection Objectclear Clears the contents of the selection.
createRange Creates a TextRange object from the current selection.
createRangeCollection Creates a TextRange object collection from the current selection.
empty Deselects the current selection, sets the selection type to none, and sets the item property to null.
TextRange Retrieves a collection of TextRange objects.
time2 Provides an active timeline for an HTML element or group of elements.
type Retrieves the type of selection.
typeDetail Retrieves the name of the selection type.