企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] > [参考网站2(github)](https://github.com/xiaoshenge/html5demo) > [参考网站](https://github.com/Double-Lv/Huploadify) ## Huploadify ``` <div id="upload"></div> $('#upload').Huploadify({ auto:true, fileTypeExts:'*.jpg;*.png;*.exe', multi:true, formData:{key:123456,key2:'vvvv'}, fileSizeLimit:1024, showUploadedPercent:true, showUploadedSize:true, removeTimeout:9999999, uploader:'upload.php', onUploadStart:function(file){ console.log(file.name+'开始上传'); }, onInit:function(obj){ console.log('初始化'); console.log(obj); }, onUploadComplete:function(file){ console.log(file.name+'上传完成'); }, onCancel:function(file){ console.log(file.name+'删除成功'); }, onClearQueue:function(queueItemCount){ console.log('有'+queueItemCount+'个文件被删除了'); }, onDestroy:function(){ console.log('destroyed!'); }, onSelect:function(file){ console.log(file.name+'加入上传队列'); }, onQueueComplete:function(queueData){ console.log('队列中的文件全部上传完成',queueData); } }); ```