Search code examples
javascriptajaxrefactoringsajax

How do I cancel an ajax call made using sajax?


a long while back when I built my first web application I used sajax by modernmethod to add ajax features to it. NOw its been a while and I have to clean it up a bit - I haven't set any real checks and my code of the time is terrible inefficient and to top things off it seems that sajax is dead?

How do you cancel a specific ajax request made using sajax? please help!


Solution

  • XMLHttpRequest object has an abort function but i don't know how stuff works with sajax.