Multi-image upload-Web Uploader

Source: Internet
Author: User

http://fex.baidu.com/webuploader/

Official demo, I do not want to say, all kinds of problems. Reference Shuaibi Articles

Http://www.cnblogs.com/ismars/p/4176912.html

Using the bootstrap Code Baidu network address: HTTP://PAN.BAIDU.COM/S/1PJKJ9WF

You can change your own reference.

            All files uploaded            Uploader.on ("Uploadaccept", function (file, response) {                //console.info (file)                //console.info (Response.filepath)                ----Assign a value----                $ ("#EditForm input[name= ' Header_ico") to the Avatar. Val ("http://" + Window.location.host + Response.filepath);                Submit Form                //if (haserror) {                ////////    through return False to tell the component that this file upload is wrong.                //    return false;                //}            });

For the page does not refresh, I only use this means, JS Slag said.

            Start uploading            $ ("#ctlBtn"). Click (function () {                console.info (uploader)                uploader.upload ();                Return false;//page does not refresh            });

Multi-image upload-Web Uploader

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.