运行代码
(Shift+Enter)
HTML教程
奔月教程(runoon.com)
Coffee
Tea
单击按钮更改列表项,使用createDocumentFragment方法,然后在列表的最后一个孩子添加列表项。
点我
运行结果