jQuery 文件上传插件 AjaxFileUpload.js
- 授权协议: BSD
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/jfeldstein/jQuery.AjaxFileUpload.js
- 软件文档: https://github.com/jfeldstein/jQuery.AjaxFileUpload.js
- 官方下载: https://github.com/jfeldstein/jQuery.AjaxFileUpload.js/archive/master.zip
软件介绍
jQuery.AjaxFileUpload.js是一款jQuery插件,用于通过ajax上传文件。
功能特点:
它不依赖于特定的HTML,只要给它一个“<INPUTTYPE="file">
它不需要你的服务器响应时指定任何特定方式
可以对大批量文件进行操作
示例代码:
-- Use as little as --
$('#one-specific-file').ajaxfileupload({
'action': '/upload.php'
});
-- or as much as --
$('input[type="file"]').ajaxfileupload({
'action': '/upload.php',
'params': {
'extra': 'info'
},
'onComplete': function(response) {
console.log('custom handler for file:');
alert(JSON.stringify(response));
},
'onStart': function() {
if(weWantedTo) return false; // cancels upload
},
'onCancel': function() {
console.log('no file selected');
}
});
Designing for Emotion
Aarron Walter / Happy Cog / 2011-10-18 / USD 18.00
Make your users fall in love with your site via the precepts packed into this brief, charming book by MailChimp user experience design lead Aarron Walter. From classic psychology to case studies, high......一起来看看 《Designing for Emotion》 这本书的介绍吧!
