yujiaming-jquery-ajax-file-upload
v2.0.2
Published
This plugin uploads the file somehwere, and passes the response to a callback, nothing else.
Downloads
15
Readme
AjaxFileUpload
$.ajaxFileUpload([options])
| 参数 | 说明 | | ------------- | --------------------------------------------------- | | url | 上传处理程序地址 | | fileElementId | 文件选择框的 id 属性 | | secureuri | 是否启用安全提交,默认为 false | | dataType | 服务器返回的数据类型。可以为 xml,script,json,html。 | | success | 服务器响应成功后的处理函数 | | error | 服务器响应失败后的处理函数 | | data | 自定义参数 | | type | 提交数据的方式,一般为 post |