请教一个xmlhttp的问题,急等!!!
我在我的网页里面加了一段
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function XMLHTTPButton_onclick()
{
var DataToSend = "id=aaa,pwd=bbb";
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.Open("POST","http://204.86.6.15:8090/user.asp",false);
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.send(DataToSend);
alert(xmlhttp.responseXML.xml);
}
//-->
</SCRIPT>
我想把id和pwd发送到指定地址,类似(http://204.86.6.15:8090/user.asp),可是在我的本机上运行的时候报错“系统未找到指定的资源”,在服务器上运行的时候报“没有权限”。请问是什么问题????