Docs: add ajax type example to main docs

This commit is contained in:
Rob Garrison 2016-07-13 15:34:35 -05:00
parent c61c0aa4fd
commit 0a05e43bcf
No known key found for this signature in database
GPG Key ID: 0A42D160D71978E1

View File

@ -4134,7 +4134,8 @@ $('table').trigger('search', false);</pre></div>
ajaxObject: {
// add more ajax settings here
// see http://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings
dataType: 'json'
dataType: 'json',
type: 'GET'
},
ajaxProcessing: function(data, table, xhr){
// do something with the ajax data;