top.window.document.getElementById("d"+Parentid).innerHTML=Inside;你也要看
top.window.document.getElementById("d"+Parentid)
返回的对象是不是null和undefined啊。
top.window.document.getElementById("d"+Parentid)
返回的对象是不是null和undefined啊。
不然你试document.onclick=function(){
top.document.getElementById("d96").innerHTML="";
//AddTreeDiv(96,'动作片',190);
//DelTreeDiv(96)
}
这个我也想知道为什么2.还有,top本身就是window的引用了,干嘛还要写top.window?