Hi,
So I'm somewhat baffled by this. I've looked online and found several solutions but none seem to be working for me.
I have an xml file like this:
<manatee num="6723-MT">
<stuff></stuff>
</manatee>
and javascript trying to get the 'num' like this:
var xmlData = xmlhttp.responseXML;
var manateeobj = xmlData.getElementsByTagName("manatee");
var id = manateeobj[0].getAttribute('num');
This works for me in every browser except IE which gives me the error "0" is null or not an object. I'm sure whatever I'm doing wrong is a simple oversight but I can't, for the life of me, figure out why it works in FF, Safari, Opera, Chrome, and even my android phone's default web browser but not in IE.
Any help would be appreciated.
-K