posts - 58, comments - 64, trackbacks - 86

My Links

News

Archives

My Links

XML + Mozilla

Can some PLEASE tell me how to simply get the value from an xml element? Seems pretty simple but for some reason the Mozilla idiots didn't make it common sense. Stupid stuff like this gives me a headache!

This works in IE:
obj.childNodes[i].text

None of these work in Mozilla browsers when using the DOMParser object:
obj.childNodes[i].text
obj.childNodes[i].value
obj.childNodes[i].innerText
obj.childNodes[i].nodeValue
...

HELP :-)

 

Print | posted on Sunday, October 02, 2005 9:57 AM |

Feedback

Gravatar

# re: XML + Mozilla

textContent

I was looking for the same thing and found the answer.
8/25/2006 11:01 PM | JD
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: