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

📄 001228_4.asp.html

📁 手把手教你安装PHP
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<html><head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
<TITLE>计算机世界网-也谈基于Web的Form多响应技术</TITLE></HEAD>
<style>
.a14{font-size:14px;text-indent:25px;line-height:20px}
.f{font-size:18px;color=#0f3ccd}
img{border:0px;}
td,p,input{font-fammily:verdana,宋体;font-size:12px;}
A:link {text-decoration:none;color:black}
A:visited {text-decoration:none;color:#80006f}
A:hover {text-decoration:underline;color:black}
</style>
<center>
<BODY topmargin=2 leftmargin=0>
<style>
.v12{font-size:10pt;color:"#ffffff";FONT-WEIGHT: bold}
.v14{font-size:14px;text-indent:25px;line-height:20px}
img{border:0px;}
td,p,input,select{font-fammily:verdana,宋体;font-size:12px;}
A:link {text-decoration:none;color:black}
A:visited {text-decoration:none;color:#80006f}
A:hover {text-decoration:underline;color:black}
</style>

<style>
.v13{font-size:10pt;color:"#ffffff";FONT-WEIGHT: bold}
.v12{font-size:13px;color:"#4C029C";FONT-WEIGHT: bold}
.v14{font-size:14px;text-indent:25px;line-height:20px}
img{border:0px;}
td,p,input,select{font-fammily:verdana,宋体;font-size:12px;}
A:link {text-decoration:none;color:black}
A:visited {text-decoration:none;color:#80006f}
A:hover {text-decoration:underline;color:black}
</style>

<!--头-->

<table align=center cellpadding="0" cellspacing="0" border="0" width="767">
  <tr><td valign=bottom>
      <table cellpadding="0" cellspacing="0" border=0>
        <tr><td valign=top><img src="ccwlogo4.gif"></td></tr>
        <tr><td height="27" valign=top><img src="knowledk.gif" width="207" height="27"></td></tr>
      </table></td>
	<td valign=bottom width=556 bgcolor="#4c029c" height=96>
		  <table cellpadding="0" cellspacing="0" border=0 width=556 bgcolor="#4c029c" height=96>
        <tr><td height=25 valign=bottom bgcolor="#ffffff"  colspan=2 ><img src="top00004.gif" usemap="#F"></td></tr>
	<tr  valign=middle >
		<td align=center valign=middle height="60" align=center>
		<!-- <a href="/search/" target=_blank><img src="/img2/esearch.GIF" border=0 width=468 height=60></a> --><a href="http://www.ccw.com.cn/html/search/thememail/" target=_blank><img src="topbanni.gif" border=0 width=468 height=60></a>	
		</td>		
		<td  align=center width=15%>
			<table width=95%>
				<tr><td><a href="mailto:center@ccw.com.cn?subject=%E6%88%91%E8%A6%81%E6%8A%95%E7%A8%BF:" target=_blank><font class=v13>我要投稿</a><br><a href="mailto:center@ccw.com.cn?subject=%E7%BC%96%E8%AF%BB%E5%BE%80%E6%9D%A5"><font class=v13>编读往来</a><br><a href="javascript:AddBookMark('计算机世界网首页')"><font class=v13>加入收藏</a></font></td></tr>
			</table>
		</td>
	</tr>
		<tr><td bgcolor="#ffffff" height=1 colspan=2 ></td></tr>
		<tr><td bgcolor="#b4aafc" height=2 colspan=2 ></td></tr></table>
		<map name="F">
<area href="http://www.ccw.com.cn/" shape="rect" coords="29, 3, 61, 18" target=_blank>
<area href="http://www.ccw.com.cn/news1/" shape="rect" coords="72, 3, 143, 18" target=_blank>
<area href="http://www.ccw.com.cn/center/" shape="rect" coords="155, 2, 216, 18" target=_blank>
<area href="http://www.ccw.com.cn/work/" shape="rect" coords="225, 2, 299, 18" target=_blank>
<area href="http://www.ccw.com.cn/search/" shape="rect" coords="310, 3, 364, 19" target=_blank>
<area href="http://www3.ccw.com.cn/" shape="rect" coords="372, 2, 412, 19" target=_blank>
<area href="http://www2.ccw.com.cn/" shape="rect" coords="424, 2, 550, 18" target=_blank></map>
	</td></tr>
	<tr><td colspan=2 bgcolor="#b4aafc">
	<table border=0 cellpadding=0 cellspacing=0 width=100%>
		<tr>
            <td width=26% align=center><font  class=v12>【2003年2月7日】&nbsp;&nbsp;&nbsp;</font></td>
            <td CLASS=V12> <a href="http://www.ccw.com.cn/center/topic.asp">专 题</a> /</td>
            <td CLASS=V12><a href="http://www.ccw.com.cn/center/tech.asp">技 术</a>  /</td>
            <td CLASS=V12><a href="http://www.ccw.com.cn/center/prod.asp">产 品</a> /</td>
            <td CLASS=V12><a href="http://www.ccw.com.cn/center/app.asp">应 用</a> /</td>
            <td CLASS=V12><a href="http://www.ccw.com.cn/center/net.asp">网 络</a> /</td>
            <td CLASS=V12><a href="http://www.ccw.com.cn/center/prog.asp">编 程</a> /</td>
            <td CLASS=V12><a href="http://www.ccw.com.cn/center/skill.asp">技 巧</a> </td>
         </tr>
	</table>
	</td></tr>
</table>
<table align=center width=680>
<tr><td align=center><br><h2><font color='#0f3ccd'>也谈基于Web的Form多响应技术</font></h2>
<br><b>湖南康大网景有限公司 周亚新</b>
<br><hr size=1 width=660 color=#f46240></td></tr></table><br>
<table align=center width=620><tr><td class=a14>《计算机世界》2000年第35期B13版有一篇题为“基于Web的Form多响应技术"的文章,文中采用INPUT的SUBMIT属性传递不同的值从而进入不同的子程序,以达到“多响应" 的效果。笔者读后感到文章中的方法只能用于二三种响应的场合,真正要达到“多响应"的效果,必须采用另外的方法。现将这种基于Web的Form多响应方法介绍如下。 </td></tr></table><table align=center width=620><tr><td class=a14></td></tr></table><table align=center width=620><tr><td class=a14>在HTML的Form结构中采用INPUT的SELECT属性 </td></tr></table><table align=center width=620><tr><td class=a14>在HTML的Form结构中采用INPUT传递不同的值从而进入不同的子程序是一条不错的思路,但是采用INPUT的SUBMIT属性却有局限性:由于每一个SUBMIT均要占据一个按钮位置,当响应量多时将会是满屏按钮,既不美观又容易搞错。其实对于多重选择场合应当采用INPUT的SELECT属性,无论多少种选择都只占据屏幕中一小段文字的位置;提交按钮另外设置,可以及时改正错误的选择。 </td></tr></table><table align=center width=620><tr><td class=a14>下面是一个页面范例的源码:用户选择所属地域,并输入姓名与密码登录。显然,如果采用INPUT的SUBMIT属性将有34个提交按钮出现在页面上,完全不可行。 </td></tr></table><table align=center width=620><tr><td class=a14></td></tr></table><table align=center width=620><tr><td class=a14>< HTML ></td></tr></table><table align=center width=620><tr><td class=a14>< HEAD ></td></tr></table><table align=center width=620><tr><td class=a14>< TITLE >范例< /TITLE ></td></tr></table><table align=center width=620><tr><td class=a14>< META HTTP-EQUIV=“Content-Type" </td></tr></table><table align=center width=620><tr><td class=a14>CONTENT=“text/html; charset=gb_2312-80" ></td></tr></table><table align=center width=620><tr><td class=a14>< /HEAD ></td></tr></table><table align=center width=620><tr><td class=a14>< BODY ></td></tr></table><table align=center width=620><tr><td class=a14>< form action=“cgi-bin/mm.pl" method=“post" ></td></tr></table><table align=center width=620><tr><td class=a14>< br >尊姓大名:</td></tr></table><table align=center width=620><tr><td class=a14>< input type=“text" name=“xm" size=10 ></td></tr></table><table align=center width=620><tr><td class=a14>< br >密码:</td></tr></table><table align=center width=620><tr><td class=a14>< input type=“password" name=“ps" size=14 ></td></tr></table><table align=center width=620><tr><td class=a14>< br >所在地域:< select name=“province" ></td></tr></table><table align=center width=620><tr><td class=a14>< option value=“01" >黑龙江</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“02" >吉林</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“03" >辽宁</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“04" >内蒙古</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“05" >天津</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“06" >北京</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“07" >河北</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“08" >山东</td></tr></table><table align=center width=620><tr><td class=a14>< option value=“09" >河南</td></tr></table><table align=center width=620><tr><td class=a14>

⌨️ 快捷键说明

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