" <td style='font-weight: bold;'>法人身份证照片</td><td id=\'aa\'>"+ showImg(m.legal_url) +"</td> "+
function showImg(image){
$("#aa").hover(function(){
return '<img src="'+image+'",width:"'+160+'",height:"'+100+'"/>';
});
return '<img src="'+image+'"/>';
}
图片可以显示 , 但hover方法没进来,图片没有变大
因为aa对象还没有添加到dom,找不到对象无法加上事件
" <td style='font-weight: bold;'>法人身份证照片</td><td id=\'aa\' onmouseover='this.getElementsByTagName(\"img\")[0].cssText=\"width:160px;height:100px\"'>"+ showImg(m.legal_url) +"</td> "+