Definition at line 38 of file index.js.
References process_status(), and var().
Referenced by onload().
42 try { xmlHttp =
new XMLHttpRequest(); }
45 try { xmlHttp =
new ActiveXObject(
"Microsoft.XMLHTTP"); }
48 try { xmlHttp =
new ActiveXObject(
"Msxml2.XMLHTTP"); }
51 alert(
"Your browser doesn't support dynamic reload.");
57 xmlHttp.open(
'POST',
'status.txt',
true);
59 xmlHttp.onreadystatechange =
62 if (xmlHttp.readyState == 4)
64 if (xmlHttp.status==0)
66 setTimeout(
"refresh_text()", 3000);
69 if (xmlHttp.status!=200)
71 alert(
"HTTP request error: "+xmlHttp.statusText+
" ["+xmlHttp.status+
"]");
72 setTimeout(
"refresh_text()", 10000);
78 setTimeout(
"refresh_text()", 3000);
po::typed_value< T > * var(T *ptr=0)
function process_status(result)