What is the status of ajax request in Yii 2?

Use pjax to make the terminal for Queuing, how can I check the response status of the ajax request to Bloch button.
June 8th 19 at 16:34
1 answer
June 8th 19 at 16:36
$('#pjax_id').on('pjax:success', function(event, data, status, xhr, options) {
 // block button

Find more questions by tags AJAXYii