ajax response not working on mozilla

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone!

Does anyone know why the following code does not work in mozilla?
I get no error,
but if I do alert(xmlNode.childNodes(0).nodeTypedValue) does not show!

Thanks in advance!

Code:
if (xmlHttp.responseText == null || xmlHttp.responseText == '') {
alert('Http Response is empty!');
return;
}

// Gets the response XML
var xmlNode = xmlHttp.responseXML.documentElement;
if (xmlNode.nodeName != 'HeaderInfoParameters') {
alert('Invalid XML returned');
return;
}

var FlashEventTypeParam = xmlNode.childNodes(0).nodeTypedValue + '';
 
Thanks but can someone tell me how can I make this 'generic' - cross browser?
 

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

Back
Top