Home > Web Front-end > JS Tutorial > How to use the jquery upload plug-in fineuploader to upload files (jquery image upload plug-in)_jquery

How to use the jquery upload plug-in fineuploader to upload files (jquery image upload plug-in)_jquery

WBOY
Release: 2016-05-16 17:10:36
Original
1342 people have browsed it

Features:

1. Does not depend on jquery

2. Moreover, it looks better. It supports many instances. After the upload is successful, there will be a callback function. For example, the thumbnail address is displayed


Usage:

Copy code The code is as follows:



Copy code The code is as follows:

var thumbnailuploader = new qq.FineUploader({
element: $('#thumbnail-fine-uploader')[0],
          request: {
                                                                                                           allowedExtensions: ['jpeg ', 'jpg', 'gif', 'png']
},
callbacks: {
onComplete: function (id, fileName, responseJSON) {
if (responseJSON.success) {                                                              >          }
       });
 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template