源码如下,如果我在文本框输入比如aaaa,为什么不会向服务提交,我想不管输入什么值,都提交,应该怎么做.<html>
<head>
<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
<link rel="stylesheet" href='stylemain.css' type='text/css'>
<link rel="stylesheet" href='colors.css' type='text/css'> </head>
<body>
<form method='post' ENCTYPE='multipart/form-data' action='upload.cgi'>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="220" height="40"> </td>
<td><input type='file' name='filename' size='45'></td>
</tr>
</table>
<p align="left"><input type='submit' value='Update Firmware'></p>
</form>
</body>
</html>
<head>
<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
<link rel="stylesheet" href='stylemain.css' type='text/css'>
<link rel="stylesheet" href='colors.css' type='text/css'> </head>
<body>
<form method='post' ENCTYPE='multipart/form-data' action='upload.cgi'>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="220" height="40"> </td>
<td><input type='file' name='filename' size='45'></td>
</tr>
</table>
<p align="left"><input type='submit' value='Update Firmware'></p>
</form>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货