1 result += "<img id='comfirmPic1Local' style='display:none' >"
2 result += "<button id='lookPic' onclick='findPic1Local("+comfirmPic1Local+","+lookPic+")'>查看回单</button>"
1 function findPic1Local(comfirmPic1Local,lookPic) {
2 if(document.getElementById(lookPic).innerHTML=="查看回单") {
3 document.getElementById(comfirmPic1Local).style.display = "block";
4 document.getElementById(lookPic).innerHTML="隐藏回单";
5 }else if(document.getElementById(lookPic).innerHTML=="隐藏回单"){
6 document.getElementById(comfirmPic1Local).style.display = "none";
7 document.getElementById(lookPic).innerHTML="查看回单";
8 }