Hi,
Is it possible to cancel an AJAX request once the wheel has been set
in motion? Below is my call
var response = $.ajax({
type: "GET",
url: 'get_file_manager_preview.php',
data: 'f=' + p_file,
async: false,
error: function(request, msg){
alert( "Server timeout: " + formDesc +
":" + msg );
},
success: function(request) {
alert( "Saved" );
}
});
What I would like is that after the AJAX request is started, there is
a button on my page that reads, "Cancel", that stops the request.
Again, not sure how doable this is. - Dave