michael-lane
07-16-2005, 01:13 PM
<script language=javascript>
function showit() {
httpreq = new ActiveXObject("Microsoft.XMLHTTP");
httpreq.open("GET", "test.txt", true);
httpreq.send();
textdata.innerText = httpreq.responseText;
setTimeout("showit()", 100);
}
</script>
<body onLoad="showit()">
<span id="textdata">textdata failed!</span>
function showit() {
httpreq = new ActiveXObject("Microsoft.XMLHTTP");
httpreq.open("GET", "test.txt", true);
httpreq.send();
textdata.innerText = httpreq.responseText;
setTimeout("showit()", 100);
}
</script>
<body onLoad="showit()">
<span id="textdata">textdata failed!</span>
