[求助]大家教教我这个菜鸟吧,我得数据为什么提交之后收不到啊?
代码如下:test.asp
>>>>>>>>>>>>>>>>>>>>
<script language="javascript">
function checkform()
{
if(document.forms.thisform.user.value== "")
{
alert("请输入你的大名");
return false;
}
if(document.forms.thisform.pass.value== "")
{
alert("请输入你的密码");
return false;
}
}
</script>
<body>
<form action="rev.asp" method="post" name="thisform" id="test" ENCTYPE = "multipart/form-data" onSubmit="return checkform()"
>
<p>用户名
<input name="user" type="text" id="user">
</p>
<p>密码&nbsp;&nbsp;
<input name="pass" type="text" id="pass">
</p>
<p>
<input name="tijiao" type="submit" id="tijiao" value="提交" >
</p>
</form>