ResponseType XHR - empty string

I just want to get the DOM tree of this XML using JS Snippet .

I get "undefined" for a.responseXML, and I don't know why, because a.responseText contains it, but as a string. I found that responseType is an empty string, and I know that responseXML is reasonable for a type.

What have I done wrong?

+4
source share

Source: https://habr.com/ru/post/1402120/


All Articles