错误: uncaught exception 是什么错误?
多菜鸟 2007-06-08 11:30:52 错误: uncaught exception: [Exception... "Component returned failure code: 0x805e000a [nsIXMLHttpRequest.open]" nsresult: "0x805e000a (<unknown>)" location: "JS frame :: http://192.168.1.75/js/ajax.js :: GetResult :: line 15" data: no]
ajax.js
===============
// JavaScript Document
function GetResult(url){
var showmov = null;
if(window.XMLHttpRequest){ //IE7, Mozilla ,Firefox 等浏览器内置该对象
showmov = new XMLHttpRequest();
}else if(window.ActiveXObject){ //IE6、IE5
try{ showmov = new ActiveXObject("Msxml2.XMLHTTP");} catch (e){ ; }
if( showmov == null) try { showmov = new ActiveXObject("Microsoft.XMLHTTP");} catch (e){; }
}
showmov.open("post",url,false);
showmov.send(null);
if(showmov.readyState == 4) {
if(showmov.status == 200) {
var strResult = showmov.responseText;
}
}
showowmov = null
return strResult;
}