标签:order pre bsp int asc random 表格 class div
<script>
function fnPrintTable(n,m){
document.write("<table border=1 width=500>");
for(var i = 1 ; i <= n ; i++){
document.write("<tr>");
for(var j = 1 ; j <= m ; j++){
document.write("<td>"+Math.random()+"</td>");
}
document.write("</tr>");
}
document.write("</table>");
}
fnPrintTable(n,m);
</script>
标签:order pre bsp int asc random 表格 class div
原文地址:http://www.cnblogs.com/ldw0513/p/7041188.html