jQuery 1.4.2 Table filter with wild card
Hi
Im looking for a solution to solve the problem that I cant use wild cards (*) in a table filter.
Is there a solution with using regex in the contains part?
$("#zebraFilter").keyup(function() {
var s = $(this).val().toLowerCase().split(" ");
$(
".zebra tr:hidden"
).show();
$.each(s, function() {
$(".zebra tr:visible .indexColumn:not(:contains('"
+ this + "'))").parent().hide();
}); //each
}); //key up.
Any ideas welcome.