If I use Ajax to send request and this request take long time ..... if I want to send anther request what should I do?
the current behaviour the second request
Defining the ajax request variable:
var xhr;
Making the ajax call:
xhr = $.ajax(...);
Aborting the ajax call:
xhr.abort();