Questions about the ajaxupload Upload plug-in

Source: Internet
Author: User
Question about the ajaxupload Upload plug-in www. zhangxinxu. comphp200911ajax-file-upload-get-file-path2.php needs 8 places in the middle of a page to use this plug-in, my solution is as follows: first I added a click event to each input to obtain the id value, while the window. onload is written as a method, and the result is a question about each ajaxupload Upload plug-in.
Http://www.zhangxinxu.com/php/200911/ajax-file-upload-get-file-path2.php

This plug-in is used in eight places in the middle of a page. my solution is as follows: first, I add a click event to each input to get the id value. onload is written as a method. The result is that the image selection box is displayed only when you click input twice each time. The main reason is that in addition to the click event, the plug-in also adds a click event, there is no way to modify ajaxupload because of its limited level. js code.
I tried the second method directly, that is, the current window. the content in onload is written into 8 records based on different IDs. in this case, the content can be uploaded, but each time it is displayed, it is under the last input.
Is there any way to solve this problem? Thank you!
------ Solution ----------------------
Multiple ajaxuploads are used at the same time,
I tried it. I can send files to different php files in response to two different buttons. I do not know if this meets your requirements.


Ajaxupload Upload


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.