Reputation: 334
How can I stop him in the $.ajax() function when you click on this button:
<button class="stop">Stop</button>
There is any function that cause to $.ajax() stop?
Note: My $.ajax script is found in a function, for example:
function useajax()
{
$.ajax(...)
}
Upvotes: 1
Views: 3406