问题
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