<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>显示隐藏列 </title>

    <script language="JavaScript">

        function setHiddenCol(oTable, iCol)//Writed by QQ:190988779 at 2007-7-24 11:14:09   
        {
            for (i = 0; i < oTable.rows.length; i++) {
                oTable.rows[i].cells[iCol].style.display = oTable.rows[i].cells[iCol].style.display == "none" ? "block" : "none";
            }
        }
        function setHiddenRow(oTable, iRow)//Writed by QQ:190988779 at 2007-7-24 11:14:09   
        {
            oTable.rows[iRow].style.display = oTable.rows[iRow].style.display == "none" ? "block" : "none";
        }   
  
    </script>

</head>
<body>
    <table >
</body>
</html>

相关文章:

  • 2021-10-03
  • 2021-05-11
  • 2021-12-02
  • 2021-04-15
  • 2021-10-21
  • 2021-08-11
  • 2022-12-23
猜你喜欢
  • 2022-02-25
  • 2021-12-02
  • 2022-01-05
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2021-09-13
相关资源
相似解决方案