Hook into keyup events for native search filter for DataTables
Hook into keyup events for native search filter for DataTables

Is there a way to hook into the search filter for DataTables? Specifically, I want to change how many letters must be typed before the search request is sent to the server... Also, I want to control what people type in that search input box. (Require 3 or more letters, and restrict crazy characters, possibly show an error).
I'm using AJAX server-side processing.
Should this be controlled from the ajax: function (data, dt_callback, settings) {}
function, or the .on('search.dt', function (e, settings)
search event.
I think I need to do this in the AJAX function.
This question has an accepted answers - jump to answer
Answers
You could use something like this example to remove the Datatbles event and create your own:
http://live.datatables.net/jorexujo/1/edit
Kevin
OHHHHHHHHHHHHHHHHHHH
.off()
removes all the DT handlers, then you control it on your own by using.search()
!?!?!?!?