I am utilizing the IUI framework and attempting to retrieve the results from an ajax call.
When inspecting the call in Firebug, it shows an "XrayWrapper[Object XMLHttpRequest{}", but I am struggling to access the responseText from the object.
Upon expanding in Firebug, the responseText is displayed as an attribute, but it is prefixed in a lighter gray text with "get: 'getResponseText'".
var data = iui.ajax('login.php',{'userName':'sysadm','password':'sysadm'},'POST',null,xxxx(data))
console.log(data.responseText);
I have attempted various methods such as data.get.responseText, data.get('responseText'), etc., but still cannot retrieve the response.
Any insights on why this might be happening?