function qqq()
{
var div = document.createElement( "div");
document.body.appendChild(div);
div.appendChild(document.getElementById( "d1"));
document.getElementById( "divone").appendChild(div)//======
alert( "a ");
}
{
var div = document.createElement( "div");
document.body.appendChild(div);
div.appendChild(document.getElementById( "d1"));
document.getElementById( "divone").appendChild(div)//======
alert( "a ");
}
如何通过appendChild追加到divone中
function qqq()
{
var div = document.createElement( "div");
document.body.appendChild(div);
div.appendChild(document.getElementById( "d1"));
document.getElementById( "divone").appendChild(div)//======
alert( "a ");
}