oclockvn
1/20/2017 - 6:55 AM

ajax options

ajax options

var options = {
    url: '/server/action',
    data: {},
    method: 'get',
    success: function(response) {},
    error: function(jqXHR, status, error) {}
};

$.ajax(options);