电动理发剪 视频:asp问题,高手请进

来源:百度文库 编辑:中科新闻网 时间:2024/05/01 20:35:57
如何通过<input type="image" >来获取表单数据???
如何获得数据啊??高手快来救命啊..
就一个简单的登录界面.
<form name=form action="login.asp?id=insert".....>
<input type=text ...>
<input type=password ....>
<input type="image" src='..' ...>
在login.asp页面上应如何处理..

input type中没有image这个类型!

用value。

你必须改正你一个错误的认识. image只可以作为按钮.作为提交表单数据的一个触发介质.
具体得到数据要一个一个读表单中数据.

input type中有image这个类型!试试这个:
<input type="image" src="url" onclik="javascript:window.open('url','')">

如果你要上传文件,请用<input type=“file" >