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 阅读(192) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

导航

统计

常用链接

留言簿(1)

随笔档案

web technology

搜索

最新评论

阅读排行榜

评论排行榜