success: function (data) {
var mapJson = data.map;
strHtml += "<table id='layerTable' class='table table-bordered' style='color:#FFF;'>";
strHtml += "<tr>";
for (var item in mapJson) {
strHtml += "<td align='center'>";
strHtml += item;
strHtml += "</td>";
}
strHtml += "</tr>";
strHtml += "<tr>";
for (var item in mapJson) {
strHtml += "<td align='center'>";
strHtml += mapJson[item];
strHtml += "</td>";
}
strHtml += "</tr>";
strHtml += "</table>";
}
if (!msgFlag) {
return;
}
$('#staticInfos').html(strHtml);
对于绿盟科技报出的XSS漏洞,各位大佬是怎么解决的?