WEB 编程
-
DHTML
- 集合
all
返回对象包含的所有子项的集合
anchors
返回网页中所有带
name
属性的
A
链接集合,也称锚点集合,集合顺序按照HTML代码流加载的顺序
applets
页面中所有的
applet
对象组成的集合
areas
网页当中所有的
map
对象中定义的所有
area
组合而成的集合
attributes
返回对象的所有属性的集合
behaviorUrns
Returns a collection of Uniform Resource Name (URN) strings identifying the behaviors attached to the element.
blockFormats
Retrieves a collection of strings that specify the names of the available block format tags.
bookmarks
返回当前的
event
数据行中的 Microsoft® ActiveX® Data Objects (ADO) 书签集合
boundElements
返回当前页面中绑定在数据集(data set)上的所有元素集合
cells
表格行
tr
里所有列
td
对象集合
childNodes
返回当前对象下所有的 HTML 元素和文本集合
children
返回当前对象下所有的 DHTML 对象
controlRange
返回在
createControlRange
或
createRange
方法中返回的结果集
elements
返回表单
form
下的所有表表单元素,但不包括
input type=image
embeds
页面的所有
embed
对象
filters
某对象的样式表中所有应用的滤镜集合
fonts
系统能够支持的所有字体
forms
当前网页中所有的表单
form
集合
frames
当前网页中所有的框架,包括
frame
和
iframe
images
页面中所有的图片
img
对象
imports
对象样式表定义中所有样式属性的具体定义组合成的集合
links
页面中所有的链接
a
namespaces
所有的命名空间对象集合
options
某
select
对象下所有的
option
pages
样式表(
styleSheet
)对象里所有的 @page 定义的 page 对象集合
plugins
返回文档中所有的
embed
对象
rows
表格(
table
)中所有的行 row 组合成的集合
rules
返回某个样式里所有的属性定义
scripts
网页中所有的
script
对象
styleSheets
返回页面中的所有样式定义,包括通过
link
链接进来的样式表文件和在本页面中通过
style
定义的样式
tBodies
返回页面中所有的
tbody
对象组成的集合
TextRange
返回所有的
TextRange
对象
TextRectangle
通过
getClientRects
方法得到的一个
TextRectangle
对象集