I am running an Ajax request using jQuery. During the process, I show the loaded text to the user until he reaches the success / errorhandler function. Is there any way to abort the request in the middle. So this does not apply to the success / errorHandler variable. One way I can think of is to use a global variable. There is a better method.
thanks
source
share