Discussion on the technology of no-refresh uploading file in Drupal
There are several ways to implement a no-refresh upload file in the Web:
1. Use Formdata and FileReader in HTML5 to implement. However, this method can only be used after IE10.
2. Use the SWF file to do the relay.
3. Submit using a hidden iframe.
The above 2 and 3 are actually similar.
I found in Drupal 7 that the field Content-type as image can be uploaded without a flush.
I didn't know how it was done for half a day. My conclusion is that the first and second types can be excluded at this time. But the third I did not find the presence of an IFRAME within HTML.
Solving!
Thank you!
------Solution--------------------
You have the code, you don't know what's going on.
I don't have the code, how do I know what's going on?
------Solution--------------------
Baidu, Google a lot of things without refreshing upload, do not limit these three kinds of it! As you say, you've already ruled out the three kinds of possibilities, so ...
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.