DHTML操作元素例子

Syntax语法

oClone = object.cloneNode( [bCloneChildren])

Parameters参数

| bCloneChildren | Optional. Boolean that specifies one of the following values:

| false | Default. Cloned objects do not include childNodes. |
| true | Cloned objects include childNodes. |
为 false:默认值,不克隆孩子结点
为true:克隆孩子结点
|





节点的增删改查






    
div区域2
div区域3
div区域4


你可能感兴趣的:(DHTML操作元素例子)