insertAdjacentHTML() 原生js添加节点element.insertAdjacentHTML(position,text);
var obj = document.getElementById("btn1"); obj.insertAdjacentHTML("afterEnd","<br><input name="txt1">");