We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fa5f6e + 376fe41 commit f9ff465Copy full SHA for f9ff465
4-ajax/6-xhr-onprogress/progress.view/index.html
@@ -18,18 +18,6 @@
18
document.getElementById('log').innerHTML = html;
19
}
20
21
- function onSuccess() {
22
- log('success');
23
- }
24
-
25
- function onError() {
26
- log('error');
27
28
29
- function onProgress(loaded, total) {
30
- log(loaded + ' / ' + total);
31
32
33
document.forms.upload.onsubmit = function() {
34
var file = this.elements.myfile.files[0];
35
if (file) {
@@ -65,4 +53,4 @@
65
53
</script>
66
54
</body>
67
55
68
-</html>
56
+</html>
0 commit comments