DOM appendChild doesn't work for mutiple append?

I do like
var oj = document.createTextNode("append list")
     var newN2 = document.createElement("li")
     var theBR = document.createElement("br");
      var newN3 = document.createElement("li")
       var newN4 = document.createElement("li")
    y = x.appendChild(newN2)
    x.appendChild(theBR)
    x.appendChild(oj)
    x.appendChild(theBR)
    x.appendChild(oj)
    y.appendChild(oj)
-------------only shows


posted on 2007-06-01 02:14 jing 阅读(261) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
<2026年8月>
2627282930311
2345678
9101112131415
16171819202122
23242526272829
303112345

导航

统计

常用链接

留言簿(1)

随笔档案

web technology

搜索

最新评论

阅读排行榜

评论排行榜