Dragging and dropping files from your desktop to a browser is one of
the ultimate goals for web application integration. This is the first in
a four-part series of posts which describes how to:
- enable file dragging and dropping onto a web page element
- analyze dropped files in JavaScript
- load and parse files on the client
- asynchronously upload files to the server using XMLHttpRequest2
- show a graphical progress bar while the upload occurs
- use progressive enhancement to ensure your file upload form works in any browser (good news for all you IE6 fans!)
- code it in plain ol’ JavaScript without a library.
http://www.sitepoint.com/html5-file-drag-and-drop/
No comments:
Post a Comment