这段代码为什么在aspx页面上出错??
同样是javascript,为什么在html页面上可以,而在aspx页面上则出错?
代码如下:xhreq = new ActiveXObject("Microsoft.XMLHTTP");
strUrl =sSendUrl+"?MSGID="+sMsgId;
strUrl += "&SPID="+sSpid;
strUrl += "&APPID="+sAppId;
strUrl += "&RECEIVER="+sReceiver;
strUrl += "&SENDDATE="+sSendDate;
strUrl += "&SENDTIME="+sSendTime;
strUrl += "&CONTENTS="+sContents;
xhreq.open("POST", strUrl, false);
xhreq.send();
运行是显示网页上有错误,“没有权限”!
各位老大帮忙看看!!很急的!!!!