=波波日志 > HTML/WML/CSS兼容/XML > Selection Prototype=
[转]Selection Prototype
Defines the properties and methods inherited by objects in the Selection prototype chain.
Syntax
HTML N/A Scripting Selection.prototype
Members Table
The following table lists the members exposed by the Selection Constructor object.
Attributes/Properties
Property Description type Retrieves the type of selection. typeDetail Retrieves the name of the selection type. Methods
Method Description clear Clears the contents of the selection. createRange Creates a TextRange object from the current text selection, or a controlRange collection from a control selection. createRangeCollection Creates a TextRange object collection from the current selection. empty Cancels the current selection, sets the selection type to none, and sets the item property to null.
Remarks
For more information on this and other DOM Prototypes see Document Object Model Prototypes, Part 1: Introduction.
This prototype does not derive from any objects.
Applies To
selection
类别:HTML/WML/CSS兼容/XML 作者:转载 日期:2010-04-30 【评论:0】
暂时没有评论!
发表留言
百度赞助
同类热门博文
- ·IE对CSS样式表的限制..
- ·HTML 5 WebSocket J..
- ·html5 websocket 通..
- ·Firefox上传文件获取..
- ·javascript获取file..
- ·URL转码方法及不能被..
- ·IE/Firefox/W3C浏览..
- ·CLIP: rect 是什么?
博格Tag
- flash/flex/fcs/AIR(752)
- Asp.Net/C#/WCF(598)
- 操作系统及应用软件(376)
- JavaScript/Ajax(331)
- SQL及数据库(134)
- 黑客技术(115)
- Asp/VBScript(111)
- HTML/WML/CSS兼容/XML(102)
- PHP/apache/Perl(96)
- 网站排名及优化(96)
- 其他(75)
- showbo日志(66)
- lucene.net/分词技术(33)
- 计算机网络(26)
- 机械重工(26)
- C#设计模式(25)
- Google Maps开发(17)
- 日语学习(15)
- Canvas/VML/SVG(13)
- linux(11)
- 游戏开发(8)
- 正则表达式(5)
- Jsp/Java(4)
最新博文
随机博文
