Dear all,
sorry if the question sounds naive, i want to know how to access the xml attributes from javascript. I am using dhtmlx ajax and i echo from php an xml string like:
<outcome1>
good
</outcome1>
<outcome2>
bad
</outcome2>
on the javascript part, i have the code:
var loader = dhtmlxAjax.postSync("Php/logIn.php", encodeURI("uname=" + uname + "&pwd=" + pwd));
if (loader.xmlDoc.responseText == null)
{
alert("Response contains no Text");
return;
}
Now i want to know how to read the attribute values of nodes outcome1 and outcome2
Thanks in advance!
Karvesh