一个HTML网页,选择一些信息后提交,然后再把提交的信息显示出来,怎么处理?下面是html的代码和ASP的代码
发布网友
发布时间:2022-04-21 14:58
我来回答
共1个回答
热心网友
时间:2022-04-21 16:28
<html>
<body>
<form method="post" action="post1.asp">
input name:<input name="usr_name" type="text"><br/>
input age:<input name="usr_psw" type="text"><br/>
gender:male<input value="male" name="usr_gender" type="radio"><br>
femalle<input value=" femalle" name="usr_gender" type="radio"><br>
course:Chinese<input type="checkbox" name="ck" value="Chinese">
English<input type="checkbox" name="ck" value="English">
Japanes<input type="checkbox" name="ck" value="Jepanese">
<br/>
e: <select name="e">
<option value="high school" >high school</option>
<option value="bA">bA</option>
<option value="maste1">maste1</option>
</select><br/>
<input type="submit" value="submit">
<input type="reset" value="重置">
</body>
</html>
--------------------------------------------------------------------------------------------
这里是ASP的代码post1.asp
usr_name:
<%=request("usr_name")%>
<br>
age:<%=request("usr_psw")%>
<br/>
gender:<%=request("usr_gender")%><br/>
course:<%=request("ck")%>
<br>
e:<%=request("e")%>