yongtiger/js-ajaxfileupload
最新稳定版本:1.0.0
Composer 安装命令:
composer require yongtiger/js-ajaxfileupload
包简介
README 文档
README
Improved carlcarl/AjaxFileUpload and fixed some bugs.
Features
- add
handleError - add
startandbeforeSendlocal callbacks of events - fix ie9 and ie 10
- fix bugs: confict with yii.js(350)
Example:
ajaxFileUpload: function () { $.ajaxFileUpload({ url: '<your url>', // MUST! secureuri: false, // MUST! fileElementId:'<your file element id>', // MUST! type: 'post', // MUST! data: '<your data>', // MUST! dataType: 'json', // MUST! `json`, `xml`, etc. // optional start: function () { // ... }, // optional beforeSend: function () { // ... }, // optional success: function (data, status) { // ... }, // optional error: function (XMLHttpRequest, textStatus, errorThrown) { // ... }, // optional complete: function () { // ... } }); },
References
See also
- http://www.cnblogs.com/zrp2013/archive/2013/05/29/3106435.html
- http://www.oschina.net/question/1246890_142999
- http://www.developwebapp.com/5538869/
- http://www.lai18.com/content/9621987.html
License
ajaxfileupload is released under the MIT license, see LICENSE file for details.
统计信息
- 总下载量: 454
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-11