XmlHttp参数传递的问题
function GetResult(str,cmd,plMan,plMemo,nbID)
{
var DataToSend = str+"@#@"+cmd+"@#@"+plMan+"@#@"+plMemo+"@#@"+nbID;
var http = new ActiveXObject("Microsoft.XMLHTTP");
http.open("POST","../NewsService/News.aspx",false);
http.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
http.send(DataToSend);
result = http.responseText;
return result;
}
--------------------------------
当传递的参数中有 HTML 标签的时候就报错
<title>从客户端(="...dd@#@d@#@a<br>a,nbsp;,nbsp; ...")中检测到有潜在危险的 Request.Form 值。</title>
有什么办法解决吗??