JS中appendChild追加子节点无效的解决方法 JS中appendChild追加子节点无效有这么一段代码:letdivs=document.getElementsByClassName('test');letbtn=docu appendchild的用法