B
bigbigant
I wrote a script to load a xml source where
http://www.net360.cn/rss.do?cityId=56&catId=1466
------------------------------------------
if (document.implementation && document.implementation.createDocument)
{
doc = document.implementation.createDocument("", "", null);
}
else if (window.ActiveXObject)
{
doc = new ActiveXObject("Microsoft.XMLDOM");
}
else
{
alert('error');
}
doc.async=false;//ä¸è®¸å¼‚æ¥çš„读å–æ•°æ®
doc.validateOnParse=false;//ä¸åˆ†æžæœ‰æ•ˆæ€§
doc.load("where http://www.net360.cn/rss.do?cityId=56&catId=1466")
-----------------------------------------
at some computers,It executes correctly. But at some other
computers,the IE reports error...
Tell me why please
~~I'm sorry for my bad English.
http://www.net360.cn/rss.do?cityId=56&catId=1466
------------------------------------------
if (document.implementation && document.implementation.createDocument)
{
doc = document.implementation.createDocument("", "", null);
}
else if (window.ActiveXObject)
{
doc = new ActiveXObject("Microsoft.XMLDOM");
}
else
{
alert('error');
}
doc.async=false;//ä¸è®¸å¼‚æ¥çš„读å–æ•°æ®
doc.validateOnParse=false;//ä¸åˆ†æžæœ‰æ•ˆæ€§
doc.load("where http://www.net360.cn/rss.do?cityId=56&catId=1466")
-----------------------------------------
at some computers,It executes correctly. But at some other
computers,the IE reports error...
Tell me why please
~~I'm sorry for my bad English.