Any plugin to upload file?

为君一笑 提交于 2019-12-08 12:39:15

问题


Currently i am using

<input type="file">

Is there any other way to do this same i mean to say any plug-in or something else which can replace this tag?


回答1:


http://www.uploadify.com/, http://pixeline.be/experiments/jqUploader/ or just google for javascript/jquery upload. There are plenty of resources available.




回答2:


Take a look at Plupload. The fact remains that there is no replacement for the <input type="file"> control for loading local file contents into the browser context for POSTing over HTTP, but Pluploads does a fine job of providing a more intelligent interface that supports all clients OOTB.




回答3:


No, this is not possible. Javascript has no access to your computer, so it can't arrange for any fileupload or anything.

You would have to either use the file input element, or use some kind of browser plugin like flash or java.




回答4:


I doubt this is possible.You have to use the type=file which notifies the broowser to select file from system interactively.



来源:https://stackoverflow.com/questions/4668086/any-plugin-to-upload-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!