简体   繁体   English

如何使用JavaScript上传文件

[英]How to upload a file using javascript

I have this form where i ultimately want to be able to upload several files, and those files will appear in a textarea tag right underneath. 我有这种形式,我最终希望能够上传几个文件,这些文件将显示在下面的textarea标记中。 How do i upload files using javascript? 如何使用javascript上传文件?

The easy path is go with a plugin. 简单的途径是使用插件。 Here is an upload plugin for jQuery library. 这是jQuery库的上传插件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM