Have tried this and it works for Textstring,
objXml.response Text, but I can't get it to work for binary array, objXml.response Body.
objXml.response Text, but I can't get it to work for binary array, objXml.response Body.
Code:
<HTML><HEAD> <SCRIPT language = "Javascript"> objXml = new ActiveXObject("Microsoft.XMLHTTP"); var datafile = "data.txt"; objXml.open("GET", datafile, true); objXml.onreadystatechange=function() { if (objXml.readyState==4) { display(objXml.responseBody); } } objXml.send(null); function display(input) { alert(input); } </SCRIPT> <BODY></BODY> </HTML>
Comment