标题:继续 请教 大家 !!!~
取消只看楼主
faint_路漫漫
Rank: 1
等 级:新手上路
帖 子:30
专家分:0
注 册:2008-5-6
 问题点数:0 回复次数:2 
继续 请教 大家 !!!~
<!--  -->是注释符,里面的内容不执行   但是为什么 下述程序非得放在这个符号里面才可以啊
<head>
<title>采用框架的实用成绩查询网页</title>
<script language="vbscript">
<!--
sub query_onclick
dim msg
msg=""
if form1.stid.value="" then  
msg="请输入学号!"
form1.stid.focus
elseif len(form1.stid.value)<8 or not isnumeric(form1.stid.value) then
msg="学号不符合规范!请重新输入"
form1.stid.focus
elseif form1.course.value="" then msg="课程不能为空"
form1.course.focus
end if
if msg="" then
form1.submit
else
alert(msg)
end if
end sub

sub reset_onclick
form1.stid.value=""
form1.course.value=""
form1.stid.focus
end sub
-->
</script>
</head>
搜索更多相关主题的帖子: 成绩查询 title 课程 网页 
2008-05-21 18:50
faint_路漫漫
Rank: 1
等 级:新手上路
帖 子:30
专家分:0
注 册:2008-5-6
得分:0 
<script language="vbscript">
</script>放在这个里面就是可执行的了吗??
2008-05-21 19:58
faint_路漫漫
Rank: 1
等 级:新手上路
帖 子:30
专家分:0
注 册:2008-5-6
得分:0 
回复 5# 的帖子
- -!!
我初学的  谢谢斑竹指教
2008-05-21 21:11



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-215488-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.451088 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved