所属分类:网页特效-上传
1.插件依赖jQuery,打开index.html即可使用
2.初始化id,提供回调函数,与后台交互
3.初始化
var dragImgUpload = new DragImgUpload("#_area",{ callback:function (files) { //回调函数,可以传递给后台等等 var file = files[0]; console.log(file.name); } })
〒_〒 居然一个评论都没有……
牛币获取:签到、评论、充值 » 在线充值(10牛币=1元)