[code="java"]
function d(){ var button = document.frames["a"].document.createElement("button"); var text = document.frames["a"].document.createTextNode("ddd"); button.appendChild(text); document.frames["a"].document.appendChild(button); }
[/code]
createElement("button");
为什么把button改成createElement("p");就不能显示