!!HELP!!
RISTMO - Your script is exactly what I need & wil enable me to keep eye on certain Unix functions from web. i.e. Unix updates text file and via web I can see the contents being updated in real time (without having to refresh the browser each time). Perfect, apart from I cannot get it to re-read the file. No error, but blank result.
First time my file news.txt contains document.write("123"

. This displays perfectly. When I click on update, my file news.txt contains document.write("456"

. I get blank / nothing displayed. What am I doing wrong?
Function works because if I uncomment the lines with //, the whole thing works fine (but kinda defeats object of reading from text file).
function upd()
{
document.getElementById("updte"

.innerHTML='<SCRIPT SRC="c:\search\cgi-bin\news.txt"></script>';
//hits += 1;
//document.getElementById("updte"

.innerHTML="Number of clicks = " + hits;
}
//-->
</script>
<div id="updte">
<script src="c:\search\cgi-bin\news.txt"></script>
</div>
<a href="javascript:upd();">Update news</a>