0
How I can Get value from xml
xml-> <a> <b>Hello world</b> <c>Hi World</c> </a> JS-> var xmlDoc=xml.responseXML; xmlDoc. -> I am calling this code -< } Note=I wrote XMLHttpRequest etc.
6 ответов
+ 17
xmlDoc = new XMLHttpRequest();
xmlDoc.open("GET","source");
xmlDoc.onload = function() {
alert(this.responseXML);
};
+ 5
can u mess with XML or XHTML in playground? or do I have go try this on my own compiler? I would love to start learning/messing with xml and JavaScript
sorry for off topic post
+ 5
That's awesome bro.
+ 1
I started learning 2hours ago 😂😂
0
could you look my new question
- 1
Actually, I want to learn this And I found, Thank you 😊😊
xmlDoc.getElementsByTagName("a")[0].children[0].childNodes[0].nodeValue