查到原来tr在ie不能做 innerHTML的,Faint~~~ ,不知道还有没办法

解决方案 »

  1.   

    可以用dom做
    var d = document.createElement('table');
    返回i行j列可以这样用
    d.cells[i].rows[j]
      

  2.   

    可以这样
    document.getElementById("mytable").parentElement.innerHTML = "<table><tr>" + getCol() + "</tr></table>";To change the contents of the table, tFoot, tHead, and tr elements, use the table object model described in How to Build Tables Dynamically. For example, use the rowIndex property or the rows collection to retrieve a reference to a specific table row. You can add or delete rows using the insertRow and deleteRow methods. To retrieve a reference to a specific cell, use the cellIndex property or the cells collection. You can add or delete rows using the insertCell and deleteCell methods. To change the content of a particular cell, use the innerHTML property.
      

  3.   

    ooReport开发平台演示报告
    主站地址:http://www.ooreport.com/
    http://soft.etcell.com/topicView.aspx?Id=89159(论坛地址)(平台总体介绍 flash文件14.5M)
    http://www.ooreport.com/flash/ooReport01.swf (制作采集程序并且提交到数据库方法演示 flash文件5.5M)
    http://www.ooreport.com/flash/ooReport02.swf 一个对ooReport网上直报/数据分系统的Flash讲解,看一下,提提建议WinTable报表设计器下载地址:http://www.etcell.com/download.asp?id=51
    ooReport开发工具下载地址:http://www.etcell.com/download.asp?id=5101测试环境 需要的话,通知我,给你开通账号
    http://www.ooreport.com/ooReports/
    http://www.ooreport.com/ooReports/indexlg.aspx?sid=TEST
    然后选择
    10、ooReport网上直报数据分析平台