以下是引用wengligan在2006-10-26 14:00:36的发言:
<html>
<head>
<title>作业</title>
<SCRIPT LANGUAGE="VBScript">
<!--
Private Sub Button1_Click()
'Document.write ???
a = 1
b = 1
d = a & "," & b
Form1.Print d;
For i = 1 To 30
c = a + b
Document.write "," & c;'(不记得是不是Document,自己查查)
a = b
b = c
Next i
End Sub
-->
</SCRIPT>
</head>
<body>
<P>
<INPUT type="Button"name="Button1"value="开始测试">
</body>
</html>
就是这个代码预览时是空白的,要怎样
[此贴子已经被作者于2006-10-26 17:40:18编辑过]