社区
ASP
帖子详情
急!!如何当我在
浏览到图片路径后.......
羽毛之家
2005-10-20 09:42:48
如何当我在<input name="filedata" type="file">浏览到图片路径后,马上取得其值,并在网页中显示其图片。
...全文
150
1
打赏
收藏
急!!如何当我在<input name="filedata" type="file" />浏览到图片路径后.......
如何当我在浏览到图片路径后,马上取得其值,并在网页中显示其图片。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
intereye
2005-10-20
打赏
举报
回复
<script language="javascript">
function showimg() {
document.form1.tmpimg.src = document.form1.filedata.value;
}
</script>
<form name="form1">
<img id="tmpimg">
<input name="filedata" type="file" onfocus="showimg()">
</form>
struts1.x上传实例
文件:<
input
type
="
file
" name="
file
data
"/><br> 2.struts-config.xml文件配置 <form-beans> <form-bean name="actionForm"
type
="org.apache.struts.action.DynaActionForm"> <form-property name = ...
fso
浏览
54646465465464564
<tr><th width="10%">盘符</th><th width="15%">类型</th><th width="20%">卷标</th><th width="15%">文件系统</th><th width="20%">总容量</th><th width="20%">可用空间</th></tr> <% On Error Resume Next Is...
Dsoframer.ocx 上传页面upload
file
.asp,PB+iis+asp测试通过
//该接口模拟表单文件域如下:<
input
type
=
file
name=
File
Data
> o1.HttpAddPostCurr
File
("
File
Data
", "") //执行上传动作,如果页面出错,会返回相关返回值 ls_a=o1.HttpPost("http://xxxx.com/upload
file
.asp") ...
struts1.x多文件上传
<
input
type
="
file
" name="
file
1"> <
input
type
="
file
" name="
file
2"> <!-- 其他表单元素 --> <
input
type
="submit" value="上传"> </form> ``` 2. **配置struts-config.xml**:在Struts的配置文件中,你需要为...
JQuery上传插件Uploadify使用详解
<
input
type
="
file
" name="uploadify" id="uploadify" /> <p> <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a> | <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a> ...
ASP
28,406
社区成员
356,946
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章