摘要: 这几天需要用到对HTML节点元素的删/插操作,由于用到insertBefore方法的时候遇到了一些麻烦,现在作为知识的整理,分别对appendChild、insertBefore和insertAfter做个总结 appendChild定义 appendChild(newChild:Node):NodeAppendsanodetothechildNodesarrayforthenode.Suppor... 阅读全文
posted @ 2010-08-04 10:25 抽风的二七 阅读(562) 评论(0) 推荐(1) 编辑