文件图片无法预览
function showpreviewimg(){
var img = $("#myfile").val();
alert(img)
document.getElementById("previewimg").innerHTML = "<img src='"+img+"'</img>";
}
function showpreviewimg(){
var img = $("#myfile").val();
alert(img)
document.getElementById("previewimg").innerHTML = "<img src='"+img+"'</img>";
}
2017-05-31
举报