主题:求教 各位帮忙给看看 javascript 为何不输出9*9表啊
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>9*9乘法表</title>
</head>
<body>
<h1 align=center>9*9乘法表</h1>
<script language=javascript>
var int j,i;
document.write("<per>")
for(j=1,j<=9,j++)
{
for(i=1,i<=j,i++)
{
if(i>1)
document.write("\t");
document.write(j+"*"+i+"="+j*i);
}
document.writeln( );
}
document.write("</per>")
</script>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>9*9乘法表</title>
</head>
<body>
<h1 align=center>9*9乘法表</h1>
<script language=javascript>
var int j,i;
document.write("<per>")
for(j=1,j<=9,j++)
{
for(i=1,i<=j,i++)
{
if(i>1)
document.write("\t");
document.write(j+"*"+i+"="+j*i);
}
document.writeln( );
}
document.write("</per>")
</script>
</body>
</html>