HTML5 File API support files drag and drop upload function

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.