超棒的纯Javascript实现的文件上传功能 - Fine uploader
IE7+Firefox
Safari (OS X)
Chrome
不使用jQuery,flash也不依赖任何第三方类库。我们只需要导入CSS和js文件即可,是不是非常方便
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fine Uploader Demo</title>
<link href="client/fileuploader.css" rel="stylesheet">
</head>
<body>
<div id="fine-uploader"></div>
<script src="client/fileuploader.js"></script>
<script>
function createUploader() {
var uploader = new qq.FileUploader({
element: document.getElementById('fine-uploader'),
// Use the relevant server script url here
action: 'yourServerScript'
});
}
window.onload = createUploader;
</script>
</body>
</html>
同时可以整合很多流行的后台语言:
ASP.NET
ColdFusion
Java Node.js
Perl
PHP
Python
补充:web前端 , JavaScript ,