hey!!
i am trying to get this code running .. it works fine when i am open it localy that is i double click html file every thing goes okey ..
but when i request it form site eg.
http://10.0.54.61. the error is that permisson denied and the page i request does no get displayed...
wot is wrong
kindly help
<HTML>
<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT=60>
<base target="_self">
</HEAD>
<BODY>
<B><center>UPDATES</center></b>
<script type="text/javascript">
var req;
function getUrl(url) {
var req = new ActiveXObject("microsoft.xmlhttp");
req.open("GET",url,false); //i see error here ::permission denied
req.send();
return req.responseText;
}
req = getUrl('http://10.0.54.140');
document.write(req);
</SCRIPT>
</BODY>
</HTML>