Skip to content

Commit c068547

Browse files
save file
1 parent 9c4c9f6 commit c068547

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

blog/25-07-31/xml-http-request/ex/xhr-upload.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ <h3>xhr upload</h3>
5757
var ok = (xhr.status>=200 && xhr.status<300);
5858

5959
if(ok){
60+
console.log('done');
6061
bar.style.width = '100%';
6162
result.textContent = 'done';
6263
return;
6364
}
65+
6466
console.warn('HTTP error:',xhr.status);
6567
}//onload
6668

0 commit comments

Comments
 (0)