Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82117

Replace oSettings.oLanguage.sProcessing with error message

$
0
0
I am trying to replace the Processing.. text with the server side error message when an 500 error occurs .. the below snippet doesn't work, any pointers ?

fnServerData: function(sUrl, aoData, fnCallback, oSettings) {

....
error: function (jqXHR, textStatus, errorThrown) {

oSettings.oLanguage.sProcessing = "Server error :" + errorThrown

...
}
}

Viewing all articles
Browse latest Browse all 82117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>