hi all, i am trying to implement XMLHTTPRequest within my web app. now for starters i would like to display a log file (which is constantly updating), within my web app. how should i display its contents without refreshing the page manually (it should display information as the log gets filled in). this is my code for JavaScript within the html file so far, but i dont think its working,
function createXMLHTTP() { var arrSignatures = ["MSXML2.XMLHTTP.5.0", "MSXML2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"]; for (var i=0; i < arrSignatures.length; i++) { try { var oRequest = new ActiveXObject (arrSignatures[i]); return oRequest; } catch (oError) { } } throw new Error ("MSXML is not installed on your system"); } var oRequest = createXMLHTTP(); oRequest.open("get", "c:\log.txt", true); oRequest.send(null); alert("status is " + oRequest.status + "(" + oRequest.statusText + ")" ); alert("Response is" + oRequest.responseText); can somebody help me out. thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]