bootstrap上传插件fileinput自动上传&成功回调
来源:互联网 发布:药物制剂论文数据统计 编辑:程序博客网 时间:2024/05/16 16:03
bootstrap上传插件fileinput功能非常强大,本文给出一例自动上传&上传成功回调的用例.核心就是调用 filebatchselected 文件选择完成事件实现的,文件上传成功的事件是 fileuploaded .
<script> $("#update_csv").fileinput({ showUpload: false, language:'zh', uploadAsync:true, dropZoneEnabled:false, uploadUrl:'http://www.soyiyuan.com/', maxFileCount: 1, maxImageWidth: 600, resizeImage: false, showCaption: false, showPreview: false, browseClass: "btn btn-primary btn-lg", allowedFileExtensions : ['csv', 'txt'], previewFileIcon: "" }).on("filebatchselected", function(event, files) { $(this).fileinput("upload"); }) .on("fileuploaded", function(event, data) { if(data.response) { alert('处理成功'); } });</script>
阅读全文
0 0
- bootstrap上传插件fileinput自动上传&成功回调
- bootstrap上传插件fileinput自动上传&成功回调
- bootstrap上传插件fileinput自动上传&成功回调 转载 2016年10月11日 11:24:09 7141 bootstrap上传插件fileinput功能非常强大,本文给出一例自动上传
- bootstrap fileinput 上传插件
- bootstrap-fileinput自动上传
- BootStrap FileInput 插件上传使用
- bootstrap-fileinput上传插件试用
- 使用插件Bootstrap Fileinput文件上传
- bootstrap-fileinput图片上传
- bootstrap fileinput 文件上传
- bootstrap fileinput 上传图片
- Bootstrap Fileinput文件上传
- bootstrap-fileinput组件上传
- 扒一扒使用boostrap-fileinput上传插件遇到的坑,Bootstrap-fileinput上传插件的使用详解,
- boostrap-fileinput上传插件
- Bootstrap-fileinput插件使用教程 支持多文件上传
- php 应用 bootstrap-fileinput 上传文件 插件 操作的方法
- Bootstrap的fileinput插件实现多文件上传的方法
- DataBinding总结
- 解决使用tomcat-redis-session-manager httpSessionLinster监听功能失效问题
- 浅谈XSS—字符编码和浏览器解析原理
- openssl rsa公钥验签名
- The specified JRE installation does not exist
- bootstrap上传插件fileinput自动上传&成功回调
- Android中ViewPager常用功能6----viewpager和Fragment结合时懒加载
- vue简单购物车功能
- HDU-1863--畅通工程---最小生成树
- jquery学习路线
- 基于opencv的对图像的垂直翻转
- 51nod 1109 01组成的N的倍数(bfs)
- thinkphp 回滚事件
- leetcode 235. Lowest Common Ancestor of a Binary Search Tree