Posted by mich dobelman on 08/21/06 06:57
I have one script called counter.php (count till 100,000 when this script is
called).
I am caling this script through AJAX. I want to be able to show in the html
page
where this counter is at the moment.
if( window.XMLHttpRequest )
{
http_request = new XMLHttpRequest();
}
http_request.onreadystatechange = getResult;
http_request.open('POST', "counter.php, true );
http_request.send(null);
}
function getResult()
{
if( http_request.readyState == 4 )
{
if( http_request.status == 200 )
{
}
}
}
Navigation:
[Reply to this message]
|