<html>
<head>
<title> HTML</title>
</head>
<body >
<h1>会员注册界面</h1>
<form action="../../../../process.aspx" method="post" name="f1">
用户名称:<input type="text" name="user" value="张三 " id="name2"></br>
联系电话:<input type="text" value="13705025431" id="dh"></br>
密码:<input type="password"></br>
确认密码:<input type="password"></br>
性别:<input type="radio" name="malew" value="male" checked="true">男
<input type="radio" name="malew" value="female">女
</br>
爱好
<input type="checkbox" name="sport" value="sport" checked="true">体育<br>
<input type="checkbox" name="music" value="music">音乐<br>
<input type="checkbox" name="wenxue" value="wenxue">文学<br>
<input type="checkbox" name="qita" value="qita">其他<br>
<input type="button" value="测试" id="tbtn" name="sub" onClick="text();" /> </br>
特长
<select name ="sports">
<option value="书法">书法
<option value="书法">文学写作
<option value="书法">阅读
</select>
</form>
<script type="text/javascript" >
function tese()
{
var str=document.getElementById("name2").value;
document.writeln(str);
var str=document.getElementById("dh").value;
document.writeln(str);
}
</script>
</body>
</html>
<!-- 13705025431 -->