From 32c56ee43f0313787b8c518687902ca0f5a082b9 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Thu, 10 Oct 2013 11:46:14 -0400 Subject: [PATCH] Filter reset when clicking HTML5 search reset Forced keyup when clicking the field to force the filter to be reset. --- jquery.table-filter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jquery.table-filter.js b/jquery.table-filter.js index d0afbee..89bd1d6 100644 --- a/jquery.table-filter.js +++ b/jquery.table-filter.js @@ -34,6 +34,8 @@ input = $("").attr({ id: id, size: o.size + }).on('click', function () { + $(this).keyup(); }); $("

").addClass("formTableFilter").append(label).append(input).insertBefore(this);