2013年4月30日

JS获取表格行数和列数

摘要: var tab = document.getElementById("TBODY_TABLE");//表格总行数(隐藏+显示) var rows = tab.rows.length ;//表格总列数 var cells = tab.rows.item(0).cells.length ;var x=0; for (i=0;i<rows;i++){ if (tab.rows[i].style.display=="none") { x = x + 1; }} //alert("表TBODY_TABLE隐藏的行数:" + x + &qu 阅读全文

posted @ 2013-04-30 15:24 风林幻海 阅读(1678) 评论(0) 推荐(0) 编辑

ASP导出Excel

摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equtv="Content-Type" content="text/html; charset=gb2312" /></head><% Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", &q 阅读全文

posted @ 2013-04-30 11:01 风林幻海 阅读(124) 评论(0) 推荐(0) 编辑

php导出Excel

摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /></head><?phpheader("Content-type: application/octet-stream");header("Accept-Ranges: bytes");header(" 阅读全文

posted @ 2013-04-30 10:53 风林幻海 阅读(217) 评论(0) 推荐(0) 编辑

导航