2017年12月10日

HTML--追加元素的方法

摘要: Javascript 纯JavaScript的情况下,往往需要创建node对象,设置参数之后,进行append()操作。 const parent = document.createElement('div'); const child = document.createElement('p'); 阅读全文

posted @ 2017-12-10 00:11 疯狂的妞妞 阅读(2822) 评论(1) 推荐(0) 编辑

导航