javascript - IE object required error from xml loaded via AJAX -


i have script parses xml document.

ie gives error on line.

alarmlog[j][0] = ealog[j].getelementsbytagname("ldsp")[0].childnodes[0].nodevalue; 

i checked make sure value available. can alert value, , looks good. ie keeps showing error

webpage error details  user agent: mozilla/4.0 (compatible; msie 8.0; windows nt 5.1; trident/4.0; gtb7.3; chromeframe/28.0.1500.95; .net clr 2.0.50727; .net clr 3.0.04506.30; .net clr 1.1.4322; .net clr 3.0.04506.648; infopath.2; .net clr 3.0.4506.2152; .net clr 3.5.30729) timestamp: mon, 19 aug 2013 20:44:12 utc   message: object required line: 503 char: 4 code: 0 uri: http://192.168.254.105/sensorlog.html 

hoping hints. thanks

can alert alarmlog[j][0]? assuming on right side of assignment operator working undefined value on alarmlog[j] produce error.

update:

my next guess data related. possibly invalid characters or white-space. need provide more information xml snippet , more of code. have @ common ie javascript mistakes also.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -