<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<form action="" method="post" enctype="multipart/form-data" accept-charset="utf-8">
<input type="file" name="upload1"><br/>
<input type="text" placeholder="" class="inputSongName" name="title" />
<br>
<input type="text" placeholder="" class="inputSinger" name="artist" />
<br>
<textarea class="lyrics" placeholder="" name="lyrics"></textarea>
<input type="submit" value="Submit">
</form>
//然后应该怎么上传
<script>
var uploadFiles = new Array();
//文件拖拽上传后会放到这个数组里面去
var file = e.dataTransfer.files[0]
uploadFiles.push(file);
</script>
</body>
</html>
<input type="file">
<form>
提交包含了页面跳转,你没有办法获取进度,甚至没有办法控制页面