Difference between response.responseXML.getElementsByTagName(); and response.responseXML.documentEle
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 06:15 AM
Hi All,
What is the difference between
var result = response.responseXML.documentElement.getAttribute("result "); and
var result = response.responseXML.getElementsByTagName("result");
and which situation we using this documentElement.getAttribute() and getElementsByTagName()
Please any one provide the difference.
Thanks in advance,
Vinuth