阮一峰的IT笔记:首页 -> 分类 -> Javascript 查看所有文章:按分类 | 按月份

DOM元素的属性

1. childNodes

返回当前元素所有子元素的数组。

2. firstChild

返回当前元素的第一个下级子元素。

3. lastChild

返回当前元素的最后一个子元素。

4. NextSibling

返回紧跟在当前元素后面的元素。

5. nodeValue

指定表示元素值的读/写属性。

6. parentNode

返回元素的父节点。

7. previousSibling

返回紧邻当前元素之前的元素。

« XMLHttpRequest简单请求的示例 | 首页 | 遍历DOM元素的方法 »

About

This page contains a single entry from the blog posted on 2007年05月06日 10:56.

The previous post in this blog was XMLHttpRequest简单请求的示例.

The next post in this blog is 遍历DOM元素的方法.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33

Post a comment