oclockvn
1/20/2017 - 7:24 AM

ajax old syntax

ajax old syntax

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