博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
js表格求和的方法
阅读量:4210 次
发布时间:2019-05-26

本文共 222 字,大约阅读时间需要 1 分钟。

function sum()
{
var tblObj = document.getElementById("PrintA");
var length = tblObj.rows.length;
var total = 0;
  for( var i=1; i<length ; i++ )
  {
     total += parseInt(tblObj.rows.item(i).cells[2].innerText);
  }
alert(total);
}

转载地址:http://wlzmi.baihongyu.com/

你可能感兴趣的文章
Oracle TABLE ACCESS BY INDEX ROWID 说明
查看>>
ORA-00600 [kmgs_parameter_update_timeout_1], [27072] ORA-27072 解决方法
查看>>
Oracle 11g alert log 新增消息 opiodr aborting process unknown ospid (1951) as a result of ORA-28 说明
查看>>
Linux Context , Interrupts 和 Context Switching 说明
查看>>
《Oracle数据库问题解决方案和故障排除手册》终于发售了
查看>>
Oracle alert log ALTER SYSTEM SET service_names='','SYS$SYS.KUPC$C_...' SCOPE=MEMORY SID='' 说明
查看>>
Oracle latch:library cache 导致 数据库挂起 故障
查看>>
Openfiler 配置 NFS 示例
查看>>
Oracle 11.2.0.1 RAC GRID 无法启动 : Oracle High Availability Services startup failed
查看>>
Oracle 18c 单实例安装手册 详细截图版
查看>>
Oracle Linux 6.1 + Oracle 11.2.0.1 RAC + RAW 安装文档
查看>>
Oracle 11g 新特性 -- Online Patching (Hot Patching 热补丁)说明
查看>>
Oracle 11g 新特性 -- ASM 增强 说明
查看>>
Oracle 11g 新特性 -- Database Replay (重演) 说明
查看>>
Oracle 11g 新特性 -- 自动诊断资料档案库(ADR) 说明
查看>>
Oracle 11g 新特性 -- RMAN Data Recovery Advisor(DRA) 说明
查看>>
CSDN博客之星 投票说明
查看>>
Oracle wallet 配置 说明
查看>>
/dev/sdxx is apparently in use by the system; will not make a filesystem here! 解决方法
查看>>
RMAN-01009: syntax error: found "dot" 解决方法
查看>>