火狐怎么在textarea中显示图片?我写的这段,图片会在textarea后面展示图片

日期:2016-12-01 16:17:39 人气:1

火狐怎么在textarea中显示图片?我写的这段,图片会在textarea后面展示图片

有这个试试 function selImg(s){ if(!s){return false;} var h=s.substr(s.lastIndexOf(".")+1,3); if(h=="gif"||h=="jpg"){ var txt=document.getElementById("txt") o=document.createElement("IMG"); o.src=s; tx
    A+
热门评论