ajax old syntax
$.ajax({ url: '/server/action', done: function(response) {}, // = success fail: function(xhr) {}, // = error alway: function() {}// = complete });