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 %>' οnerrοr='showimg(this);' /><br />
转载于:https://www.cnblogs.com/jianshao810/archive/2010/08/12/1798007.html