ITeye博客

随笔记

ylsuccess · 2010-05-18 15:45 · Javascript · Web前端 · Markdown

parent children sibling descendant ancestor

Node 1; Text 3; Document 9;

Node nodeName nodeValue nodeType 元素类型 节点类型 元素 1 属性 2 文本 3 注释 8 文档 9

childNodes firstChild lastChild nextSibling perviousSibling parentNode removeChild() replaceChild() appendChild() insertBefore()

Element setAttribute() getAttribute() removeAttribute()

HttpElement id style title class(className) lang dir

document.implementation.hasFeatrue("html","1.0");

typeof == number,string,object,function,boolean,undefined.

(variable instaceof "xxx") return true|flase

variable instaceof

CSS0 position absolute relative background-color top left width height

visibility hidden visible enable disable| display none

Event stopPropagation() preventDefault() addEventListener() captures

standard Event bubbles(boolean) currentTarget cancelable(boolean) eventPhase

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。