Loading ...
Sorry, an error occurred while loading the content.

Aborting Dialog form submission?

Expand Messages
  • thoughtdomain
    There is a way to abort/time out the connection manager: 1 //Initiate an asynchronous transaction. 2 var cObj = YAHOO.util.Connect.asyncRequest( GET , sUrl,
    Message 1 of 1 , Jun 30, 2006
    • 0 Attachment
      There is a way to abort/time out the connection manager:

      1 //Initiate an asynchronous transaction.
      2 var cObj = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);
      3
      4 //Abort the transaction if it isn't completed in ten seconds.
      5 setTimeout("YAHOO.util.Connect.abort(cObj)",10000);

      Apparently it requires an object of asyncRequest. Now where is that
      object in the Dialog? How to gain access to it?
    Your message has been successfully submitted and would be delivered to recipients shortly.