Write in front: This article says this program has the browser compatibility problem; Newer versions of all major browsers already support this object, such as Chrome 7+, Firefox 4+, IE 10+, Opera 12+, Safari 5+, and more sensitive sites for
From: http://blog.csdn.net/q1056843325/article/details/53759963
This article is my translation of the foreign language, not my originalOnline see a lot of blogs have reproduced this articleBut it's all in English.So I decided to translate
XMLHttpRequest is a browser interface through which we can make Javascript communicate in HTTP (S). XMLHttpRequest is now a common way to interact with data in front and back of the browser. In February 2008, XMLHttpRequest Level 2 was proposed, and
Use PHP and HTML5 formdata to implement a no-refresh file upload tutorial,
No-refresh file upload is a common and somewhat complex problem, and the common solution is to construct an IFRAME implementation.
A FormData object API is provided in HTML5,
Using FormData to upload files and images in JS,
About FormData
XMLHttpRequest Level 2 adds a new interface ---- FormData
The FormData object can be used to simulate a series of form controls using some key-value pairs in js. The send () method of
PHP and HTML5 FormData are used to upload a non-refreshing file,
Upload without refreshing files is a common and complex problem. The common solution is to construct iframe.
In HTML5, A FormData object API is provided. Using FormData, you can easily
No refresh file upload is a common and somewhat complex problem, the common solution is to construct an IFRAME implementation.In HTML5, a FormData object API is provided, which makes it easy to construct a form request and send it through
No refresh file upload is a common and somewhat complex problem, the common solution is to construct an IFRAME implementation.
In HTML5, a FormData object API is provided, which makes it easy to construct a form request and send it through
This article for everyone to share the content is Formdata object Ajax request and upload the file method, the need for friends can refer to.
XMLHttpRequest Level2 added a new interface--formdata . " is primarily used to send form data, but it can
No-refresh file upload is a common and somewhat complex problem, and the common solution is to construct an IFRAME implementation.A FormData object API is provided in HTML5, which makes it easy to construct a form request and send it through
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.