⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0141.htm

📁 asp教程宝典``还不错
💻 HTM
字号:
<html>

<head>
<title>新时代软件教程:操作系统 主页制作 服务器 设计软件 网络技术 编程语言 文字编辑</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
body, table {font-size: 9pt; font-family: 宋体}
a {text-decoration:none}
a:hover {color: red;text-decoration:underline}
.1  {background-color: rgb(245,245,245)}
-->
</style>
</head>
<p align="center"><script src="../../1.js"></script></a>
    <p align="center"><big><strong>用ASP开发一个在线考试程序(一)</strong></big></p>

<div align="right">---摘自《YESKY》</div>

本文所介绍的应用程序是以ASP编程的初学者为读者的。虽然这个例子非常简单,但是它对于那些试图在线对他们的雇员、学生或客户进行考试的组织是非常有用的。关于这个应用程序我们的应用程序中的第一个界面包含在index.asp 中,由一个注册页组成,其中有两个输入域,一个是用户名,另一个是口令。非会员要想参加考试的话必须要注册。这一页是初始屏幕,为用户提供用户名和口令的输入框。<br>
  需要注意的是,这两个将要批准的会员域应该有客户机端的JavaScript 确认,以便不把它们作为空白域来传递。<br>
if (theForm.username.value == &quot;&quot;)<br>
{<br>
alert(&quot;Please enter the \&quot;User Name\&quot;&quot;);<br>
theForm.username.focus();<br>
return (false);<br>
}<br>
if (theForm.password.value == &quot;&quot;)<br>
{<br>
alert(&quot;Please enter the \&quot;Password\&quot;&quot;);<br>
theForm.password.focus();<br>
return (false);<br>
}<br>
<br>


  </table>
<p align="center"><script src="../../2.js"></script></a>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -