Search when enter key is pressed
-
Hi Tobias,
Is there a way I can delay searching a table until the enter key is pressed? I’ve read it can be done with datatables by using the code below, and was wondering if it would be possible for me to implement this into tablepress as well. Thanks!
$(“div.dataTables_filter input”).keyup( function (e) {
if (e.keyCode == 13) {
oTable.fnFilter( this.value ) );
}
} );
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Search when enter key is pressed’ is closed to new replies.