:: Forum >> Version 2 >>

how to stop a sent after a give time

Dear Gurus,

I have and issue here where the "objXml.send(null);" is keep at sending page, how could I stop it after the "objXml.send(null);" line ?

Please advice. Thank you.

KY

objXml = new ActiveXObject("Microsoft.XMLHTTP");    
objXml.open("GET"datafiletrue);
objXml.onreadystatechange=function() 
{
   if (
objXml.readyState==4&&objXml.status == 200
   {
        ..... 
// processing data
    
}
}
objXml.send(null); 
Kong Yong
Wednesday, March 21, 2007
objXml.abort();

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/7b1cfc92-5078-404a-85a2-a907fe1184a2.asp
Alex (ActiveWidgets)
Wednesday, March 21, 2007



This topic is archived.

Back to support forum

Forum search