特點:
1.不依賴與jquery
2.而且,好看一點吧..支援很多實例,上傳成功後.會有一個回呼函數.例如縮圖位址顯示出來
用法:
var thumbnailloader = newnail. element: $('#thumbnail-fine-uploader')[0],
request: {
},
validation: {
', 'jpg', 'gif', 'png']
},
unction (id, fileName, responseJSON) {
if (responseJSON.success) {
//alert(responseJSON.guidimg); $('#thumbnail-fine-uploader'). ="logoimg" style="width:200;hight:300px;" src="' responseJSON.imgurl '" alt="' responseJSON.guidimg '">');
}
}
});