网页图片显示错误,显示默认图片

function showimg(ele) {
  ele.src = "http://cm.aqioo.com/Styles/Expert/images/default120.gif";
}
<img cg width="100" height="100" alt='<%= model.model.Topic %>' src='<%=imgpath+"/"+model.model.Face %>' onerror='showimg(this);' /><br />

posted on 2010-08-12 12:10  jianshaohui  阅读(295)  评论(0编辑  收藏  举报

导航