|
|
|
|
|
AJAXAsynchronousCallPending (Function) In french: AJAXAppelAsynchroneEnCours // Is AJAX supported by the current browser? IF AJAXAvailable() = True THEN // Run the server procedure named "MyProc" // As soon as the result of the "MyProc" server procedure // will be available, // the "ProcResult" browser procedure will be run Res is int Res = AJAXExecuteAsynchronous(MyProc, ProcResult) // The following processes are run without waiting for the result ... // Progress of the server procedure named "MyProc" IF AJAXAsynchronousCallPending(Res) = True THEN // Cancel the execution // of the "ProcResult" browser procedure // The result of the "MyProc" server procedure // cannot be processed AJAXCancelAsynchronousCall(Res) END ELSE // Processes without using AJAX ... END
Syntax
<Result> = AJAXAsynchronousCallPending(<Identifier of server procedure>)
<Result>: Boolean - True if the specified server procedure is currently run,
- False otherwise.
<Identifier of server procedure>: Integer Identifier of the server procedure to use. This identifier was defined by AJAXExecuteAsynchronous. Remarks Older browsers AJAXAvailable is used to determine if the current browser supports AJAX technology. If a process that uses AJAX is run on a browser that does not support this technology, the process is run "as if" it did not use AJAX (e.g., the entire page is refreshed).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|