问答题

试题五   
阅读下列说明,回答问题1至问题3,将解答填入答题纸的对应栏内。
【说明】
某公司用ASP+Access数据库开发了库存查询系统,该系统用户登录界面如下:

该系统用户登录界面文件名为login.asp,用户输入的数据由check.asp文件判断。下面是login.asp的部分代码,请根据题目说明,补充完成。
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>查询系统</title>
<script. language="JavaScript">
<!-- (5) chk(theForm)
{ if(theForm.admin_name.value = ="")
{alert(“请输入管理帐号!”);
theForm.admin_name.focus();
return (false); }
if(theForm.admin_pass.value == "")
{alert("请输入管理密码!");theForm.admin_pass.focus(); return (false);}
retum (6) //-->
</script>
</head>
<body>
<table cellSpacing=l ceIIPadding=5 width=460 border=0>
<FORM. action="(7) action=login" method=post nSubmit="return chk(this)">
<tbody>
……
<tr>
<td align=right width=60 height=30>用户名: </td>
<td height 30><input type= (8) name=admin name></td></tr> <tr>
<td alignrightheight 30>密&nbsp;&nbsp;码: </td>
<td height 30><input type= (9) name=admin_pass></td></tr> <tr>
<td align=right>验证码: </td> <td>
<input maxLength=4 name=VerifyCode><img src="yz.asp" bordeF'0'onClick "this.src='yz.asp'"alt='点刷新验证码'/></td></tr>
<tr align middle>
<td colSpan=2 height=40><input type= (10) value="提交”>
<input class=btntype="(ll)" value="取消"></td>……
</body>
</html>
(5)~(11)备选答案:
A. password B. reset C. check.asp D. true
E. text F.submit G. function

【参考答案】

(5)G function
(6)D true
(7)C check.asp
(8)E t......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)