Skip to content

DOM Scripting Notes

CSS: presentation

JavaScript: behavior

append和appendChild的区别

append是javascript的原生方法,appendChild是DOM的

一般来讲appendChild可以用append代替,但appendChild不能代替append