06 2019 档案

W3-JavaScript基础知识三[JavaWeb]
摘要:1.案例一:在末尾添加节点 1.1 步骤 (1)获取到ul标签 (2)创建li标签,createElement (3)创建文本标签,createElement (4)将文本添加到li下面,appendChild (5)将li添加到ul的末尾,appendChild 1.2 实现 <ul id="ul 阅读全文

posted @ 2019-06-02 15:19 ERFishing 阅读(255) 评论(0) 推荐(0)