bi de başka bi js kodu buldum, bunu da bi dene.
_____________
<script language="javascript" >
//güncelleme süresi
var intsecods = 1;
//güncellenecek adres
var url = "http://www.mamma.com"
var x=setInterval("update()",1000 * intsecods)
function update() {
var http = new ActiveXObject("Microsoft.XMLHTTP");
try{
http.Open("GET",url,false);
http.send();
if(http.readyState==4) {
data1.innerHTML = http.ResponseText
}
}
catch(e){
if(e instanceof Error) {
data1.innerHTML = "bağlantı yok";
}
}
}
</script>
<html>
<head>
<title></title>
</head>
<body>
<div id="data1">
</div>
</body>
</html>
_________________________________