主题: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>
<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>

您所在位置:
