代码片段:
$(function(){
function xmTanUploadImg(obj) {
var file = obj.files[0];
var reader = new FileReader();
reader.onload = function (e) {
var img = '<img src='+ e.target.result +'>';
srcword = e.target.result;
img = '<div class="item">'+img+'<i class="iconfont icon-guanbi1"></i></div>';
$('#lee').html(img);
}
reader.readAsDataURL(file);
}
申明:本站所有资源都是转载各大下载站,或由网友投稿发布,请自行检测软件的完整性,如有侵权请联系我们删除下架,联系方式:admin@php.cn