Hi
I am very new to ajax. I am a web developer that has inherited some code and new to ass some new functionality.
I am trying to use this function and have read a lot but cant wrap my head round it :
responseXML.getElementsByTagName
Here is the chunk of code I have written. Could you look at it and see if there is anything glaringly obvious in these.
I would appreciate any help or links to information regarding this that is understandable to java noob.
Thanks
Ian
I am very new to ajax. I am a web developer that has inherited some code and new to ass some new functionality.
I am trying to use this function and have read a lot but cant wrap my head round it :
responseXML.getElementsByTagName
Here is the chunk of code I have written. Could you look at it and see if there is anything glaringly obvious in these.
Code:
if (responseXML.getElementsByTagName('CcErrCode')[0].firstChild.data != "1")
{
alert(responseXML.getElementsByTagName('text')[0].firstChild.data);
}
Thanks
Ian