callbacks:{
onComplete: function(id, fileName, responseJSON) {
if (responseJSON.success) {
$('#fff').append('<img src="" alt="">');
alert(responseJSON.allpath);
}
}
},
debug: true
});
高手帮忙看看responseJSON.allpath 是json的返回的图片路径,
我怎么显示图片呢
$('#fff').append('<img src="responseJSON.allpath" alt="">');不行
$('#fff').append('<img src=responseJSON.allpath alt="">');也不行
struts json
$('#fff').append("<img src="+scr+" alt="">");