用图片作为提交按钮为什么不管用?

Liubin 2000-08-11 04:06:00
用图片作为提交按钮为什么不管用?如下:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<form method="post" action="">
<input type="text" name="textfield">
<input type="text" name="textfield2">
<input type="image" border="0" name="imageField" src="../img/submit.gif" width="71" height="32">
</form>
</body>
</html>

请问哪里错了??
...全文
215 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
shgz 2000-08-22
  • 打赏
  • 举报
回复
你把form里的内容提交给"谁"啊? :-)
wwwunix 2000-08-17
  • 打赏
  • 举报
回复
一定要设好action,里面放的是你的响应程序。
truemichael 2000-08-16
  • 打赏
  • 举报
回复
代码完全没问题,设置好action后肯定能跑
shines77 2000-08-14
  • 打赏
  • 举报
回复
对啊 Action怎么能为空呢?huntout的方法很正确。
linyu 2000-08-13
  • 打赏
  • 举报
回复
action不能为空吧
其他没有错
huntout 2000-08-11
  • 打赏
  • 举报
回复
<input type="image" border="0" name="imageField" src="../img/submit.gif" width="71" height="32" onclick="submit()">

10,606

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧