I'm in a bit of a pickle with this one. I'm using jQuery DataTables 1.10.6, and I want to make it so that when the user stops typing (like maybe after 950 ms?), the search is performed. I kind of have it working, but since I'm using server-side processing, sSearch (the search parameter) returns null.

I'm guessing it has to do with the unbinding and re-binding, but I don't know how to make it so that sSearch is sent properly.

```
var delay = function () {
    var timer = 0;
    return function (callback, ms) {
        clearTimeout(timer);
        timer = setTimeout(callback, ms);
    }
})();

$("div.dataTables_filter input").unbind();
$("div.dataTables_filter input").bind("keyup", function () {
    alert(this.value);
    delay(function () { 
        $("#MyTable").dataTable().fnFilter(this.value);}, 1000);
}

```