我承认,我的确是个新手,求助
我用记事本抄了这么段程序,居然前面温度计算部分没显示请问是什么顺序有问题呢,还是哪儿输入错误?
<HTML>
<HEAD>
<TITLE>测试</TITLE>
</HEAD>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub ConvertTemp()
temp = InputBox ("请输入华氏温度。", 1)
MsgBox "温度为" & Celsius(temp) & "摄氏度。"
End Sub
Function Celsius(fDegrees)
Celsius = (fDegrees-32)*5/9
End Function
-->
</SCRIPT>
<BODY>
<FORM NAME="Form1">
<INPUT TYPE="Button" NAME="Button1" VALUE="按一下">
<SCRIPT FOR="Button1" EVENT="onClick" LANGUAGE="VBScript">
MsgBox "小小世界真奇妙!"
</SCRIPT>
</FORM>
</BODY>
</HTML>