代码为什么运行不出来
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.<html xmlns=" http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript">
function submit1()
{
var a= document.getElementById("user").value;
var b= document.getElementById("password").value;
document.write("用户名:"+a);
document.write("密码:"+b);
}
</script>
</head>
<body>
<form name="myform" method="post">
<table>
<tr><td>用户名:</td><td><input type="text" size="10" name="user" value="" /></td></tr>
<tr><br />
<td>
密码:</td><td> <input type="password" size="10" name="password" value="" /></td>
</tr>
<tr>
<td>
<input type="submit" value="提交" onclick="submit1()" /></td>
<td>
<input type="reset" value="清空" />
</td>
</tr>
</table>
</form>
</body>
<!--< ml> -->
</html>
点击提交后页面上不显示
[ 本帖最后由 woniu110 于 2011-5-6 13:43 编辑 ]