亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - Questions about the jQuery File Upload plug-in
淡淡煙草味
淡淡煙草味 2017-06-10 09:49:07
0
1
759

The user uses the input="file" tag to select a picture. After I draw the picture selected by the user to canvas for processing, I get the base64 picture data. Then the question arises, how do I put this result into jQuery File Upload? Then click the button to upload?

var data = canvas.toDataURL("image/jpeg", 0.7);
淡淡煙草味
淡淡煙草味

reply all(1)
學(xué)霸

It should be enough to set onchange for the input

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template