求一段显示动态表格的代码! 求一段显示动态表格的代码! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html> <head> <meta http-equiv= "Content-Type" content= "text/html;charset=gb2312"> <title> replaceHref </title> </head> <script language="javascript"> function mb() { var t = document.createElement("table"); t.border = "1"; t.width = "250"; t.height = "35"; var tb = document.createElement("tbody"); t.appendChild(tb) var tr = document.createElement("tr"); tb.appendChild(tr); var td = document.createElement("td"); td.id="td1"; tr.appendChild(td); document.body.appendChild(t); document.getElementById("td1").innerText = "测试"; //document.getElementById("txt").value = document.body.innerHTML; onload="mb()" }</script> <body><a href="javascript:mb()">显示表格</a></body> </html> php面向对象问题??? 请大牛帮忙解惑,不胜感激,EVAL base64解密后的问题 php转换字符串的问题 关于php在iss下导出excel的问题 php如何判断是否以某个字符串结尾? 大量收购加解密函数~ …*^_^*… PHP4程序不能在高一点的版本中运行,如何修改,是什么原因 请问在PHP中如何读写以及创建.ini文件? vbscript中调用php的变量有几种调法? 字段类型decimal(10,1),计算100.0+1.5=101.0,为什么? php东拉西扯的居然扯成了一门超过10年的语言 遇到一难处,请高手解答,
<html> <head>
<meta http-equiv= "Content-Type" content= "text/html;charset=gb2312">
<title> replaceHref </title>
</head>
<script language="javascript">
function mb()
{
var t = document.createElement("table");
t.border = "1";
t.width = "250";
t.height = "35";
var tb = document.createElement("tbody");
t.appendChild(tb)
var tr = document.createElement("tr");
tb.appendChild(tr);
var td = document.createElement("td");
td.id="td1";
tr.appendChild(td);
document.body.appendChild(t);
document.getElementById("td1").innerText = "测试";
//document.getElementById("txt").value = document.body.innerHTML; onload="mb()"
}
</script>
<body><a href="javascript:mb()">显示表格</a>
</body> </html>