转义符拼接 var tempPriName=data[i].PRIVILEGENAME;
if(tempPriName == "登记信息") {
djxxTr += "<tr>" +
"<td><a href=\"##\" class=\"list_operatelink\" οnclick=\"saveInfo('"+ data[i].FL+ "','"+data[i].ID1+"')\">"+data[i].NAME1+"</a></td>" +
"<td><a href=\"##\" class=\"list_operatelink\" οnclick=\"saveInfo('"+ data[i].FL+ "','"+data[i].ID2+"')\">"+data[i].NAME2+"</a></td>" +
"<td><a href=\"##\" class=\"list_operatelink\" οnclick=\"saveInfo('"+ data[i].FL+ "','"+data[i].ID3+"')\">"+data[i].NAME3+"</a></td>" +
"<td><a href=\"##\" class=\"list_operatelink\" οnclick=\"saveInfo('"+ data[i].FL+ "','"+data[i].ID4+"')\">"+data[i].NAME4+"</a></td>" +
"</tr>";
}
}
djxxTr+="</table></div>";
jQuery("#djxx_ddiv").append(djxxTitle+djxxTr);