The new generation of Web development standard HTML 5 can bring far beyond its own ability as a markup language, in addition to our previous introduction of HTML 5 can perfectly support video audio elements, but also provide some powerful scripting tools, responsible for overseeing the HTML5 development process of the Organization, Just published a draft specification for the document Operations API, HTML5 the file API interface functionality.
The HTML5 file API is designed to improve the way browser-based Web applications handle file uploads, making it possible to drag and drop files directly. The draft defines the new input options ﹤input type= "file" ﹥ to handle file uploads.
More surprisingly, the API provides developers with a way to correlate upload data and display upload progress and other information.
However, in addition to Firefox 3.6, there are few browser brands that support the API well. However, once the new features are widely supported, the HTML5 file API allows for desktop-like drag-and-drop effects, as well as the ability to synchronously process multiple uploads and display upload progress, no longer using Flash technology or other external tools.
For more details on the HTML5 File API draft, as well as the development application in conjunction with JavaScript, please refer to the documentation for publish first working draft of the file API in detail.
Publish first working draft of the File API: http://ajaxian.com/archives/ W3c-publish-first-working-draft-of-file-api
HTML5 File API support files drag and drop upload function