如何直接从客户端计算机上载文件。 [英] How to upload the file directly from the client machine.

查看:65
本文介绍了如何直接从客户端计算机上载文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何直接从客户端计算机上传文件。



我有一个邮件发送按钮。



如果我点击按钮,from,to,subject来使用pageload。



同样,默认文件也可以作为附件直接从客户端机器。



如何直接上传文件(使用文件上传控制或使用文件上传控制的eithout)



Plz帮我完成这项任务。紧急...

How to upload the file directly from the client machine.

I have one button for mail sending.

If i click the button, the from, to, subject comes using pageload.

Like that the default file also could be added as a attachment directly from the client machine.

How to upload the file directly(using file upload control or eithout using file upload control)

Plz help me to do this task. Urgent...

推荐答案

Hello Jaison。,



出于安全考虑,文件输入字段值可以既不通过HTML也不通过JavaScript设置。 ( http://www.w3schools.com/tags/att_input_value.asp



问候,
Hello Jaison.,

For security reasons the file input field value can neither be set via HTML nor via JavaScript. (http://www.w3schools.com/tags/att_input_value.asp)

Regards,


这篇关于如何直接从客户端计算机上载文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆