点击提交没有任何反映,,,?

来源:百度知道 编辑:UC知道 时间:2024/05/14 23:29:22
<html>
<head>
<title>用户登陆</title>
</head>
<body>
<table width="253" height="237" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="253" height="47"><div align="center">用户登陆</div></td>
</tr>
<tr>
<td height="190">
<from name = "from1" method"post" action="index.jsp" onSubmit ="return check()">
<p align="left">用户名:<input tpye="text" name ="username"></p>
<p align="left">密 码:<input tpye="text" name ="password"></p>
<p align="left">验证码:<img border=1 src = "rand.jsp" alt="3"></p>
<div align="lift">验证码:&

你的onClick事件在哪呢
虽然你的按纽是submit的
但是你有onClick 他会去找这个方法check()
它找不到 自然没反映
楼下说你的Form有问题 我才发现
你的标签也写错了。

<form>你写错成了<from>

补充:method"post"少等号