Showing progress with the Safari 4 multiple file upload
3/11/2009
Andrea Giammarchi has taken the new Safari 4 implementation of multi input file upload functionality and has written an article on how to write the client and server to enable thisHe shares the new XHR implementation:
PLAIN TEXT
JAVASCRIPT:
var xhr = new XMLHttpRequest,
upload = xhr.upload;
upload.onload = function(){
console.log("Data fully sent");
};
xhr.open("post", page, true);
xhr.send(binaryData);
and the delves [...].
Similar articles
Web Reflection
Safari 4 Multiple Upload With Progress Bar
Update - I slightly modified the demo page adding another bar, the one for the current file. I'll update the zip asap but all you need is a copy and paste of the JS in the index. Apparently multiple s...
Web Reflection
Safari 4 Multiple Upload With Progress Bar
Update - I slightly modified the demo page adding another bar, the one for the current file. I'll update the zip asap but all you need is a copy and paste of the JS in the index. Apparently multiple s...
Web Reflection
Safari 4 Multiple Upload With Progress Bar
<strong>Update</strong> - I slightly modified the <a href="http://www.3site.eu/jstests/upload/">demo page</a> adding another bar, the one for the current file. I'll update the ...
David Walsh :: PHP, CSS, MooTools, jQuery, and Eve
Multiple File Upload Input
More often than not, I find myself wanting to upload more than one file at a time. Having to use multiple “file” INPUT elements is annoying, slow, and inefficient. And if I hate them, I ...
David Walsh :: PHP, CSS, MooTools, jQuery, and Eve
Multiple File Upload Input
More often than not, I find myself wanting to upload more than one file at a time. Having to use multiple “file” INPUT elements is annoying, slow, and inefficient. And if I hate them, I ...