<script language="vbs">
sub send_onclick
dim f
set f=document.ff
photo=trim(f.photo.value)
if photo="" then
msgbox "嘻嘻,还没照片呢!",64 ,"上传"
f.photo.focus
exit sub
end if
f.submit
end sub
sub retu_onclick
history.back
end sub
</script>
<form method=POST action=saveedit.asp name=ff enctype=multipart/form-data>
<input type=file name=photo>
<input type=button value=开始上传 name=send>
</form>
[1]
最后
以上就是包容橘子最近收集整理的关于如何用拦截表单的方法上传图片?的全部内容,更多相关如何用拦截表单内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复