Ajax error callback

Ajax error callback

sdaysday Posts: 2Questions: 1Answers: 0
edited April 2016 in Free community support

What is expected in the parameters for the ajax error callback?

error: function (xhr, error, thrown) {
                error( xhr, error, thrown );
            }

From the last example in the docs: https://editor.datatables.net/reference/option/ajax

Thanks
-Steve

Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Answers

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    Hi Steve,

    It matches the jQuery.ajax() error handler.

    Regards,
    Allan

  • sdaysday Posts: 2Questions: 1Answers: 0

    Thanks, that is what I was looking for.

This discussion has been closed.