Hi All,

AJAX beginner here...

1. I have a function in .js that creates and gives me xmlhttpRequest-object. It works fine when I call it from a few .js files of my project, but has just started returning null value to a call from one of the .js files which worked BEFORE !!

2. I have a few functions that deal with the xml response sent to it. It works great except that the same code in one of those functions now gives me a null value...! I get a message like 'cannot call getElementsByTagName() of null' when i try to call xinfo.getElementsByTagName('item')

I am using wamp and Google Chrome.

will greatly appreciate any help/suggestions...

Do you know for a fact that your server is returning a VALID xml document?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.