Jquery ajax – Re-invoke $.ajax under condition
When I initialize an ajax call, when the request is succeeded and match a condition I want to re-call it again inside it, like following: $.ajax({ ... success : function(){ if(true) // run_this_request_again(); }, // or, complete : function(){ if(true)…