在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mihaild/jquery-html5-upload开源软件地址:https://github.com/mihaild/jquery-html5-upload开源编程语言:JavaScript 76.6%开源软件介绍:jquery-html5-uploadHTML5 allows attribute multiple in input tag. It is possible to select multiple files in one dialog without flash. With this plugin, you can easy upload multiple files and display progress of uploading. Works in modern versions of Firefox and WebKit browsers. Wasn't tested in IE. This plugin is very simple. I think, everything is clean from it's source. But if you want to have a list of it's options - they are presented below. OptionsEventsAll events except "change" used by plugin have prefix "html5_upload.". Events used by pluginIt is not recommended to set handlers for this events manual. start Start upload selected files cancelOne Cancel upload of currently uploading file cancelAll Cancel current uploading destroy Removes traces of plugin work On* eventsThis events can be set by passing it to plugin constructor. When presented, name if the current file name, number is the number of current file, total is count of currenly selected files.
gen* and set* optionsSometimes you need no full control on all plugin events. If so, you can pass the gen* and set* functions to automatically set messages. gen* functionsBy default, they use STATUSES option to generate the text.
set* functionThis functions get plain text from set* functions
Other optionsautostart (bool) start when the input value is changed autoclear (bool) clear the input value when all files are uploaded stopOnFirstError (bool) cancel uploading remaining files if an error occurred url (string|function) url where send files, or function which will return it sendBoundary (bool) format headers to emulate usual form file sending. fieldName (string|function) if setBoundary is true, value for file field name extraFields (map|function) extra fields to send with file upload request (works only for HTML5) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论