xmldoc load()~~~

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,129
Latest member
FastBurnketo
Top