This is the jquery function:
$.get("/url", function(){ //success }).fail(function(){ //fail <---- how to make code go in there. });
The problem is how to run the program in the .fail block, I am using .Net MVC. However, setting a breakpoint in the controller does not throw a timeout exception, but causes a failure.
I donβt know how people test this.
Should I start browsing some tools?
javascript jquery
CodeFarmer
source share