I found this filtering script:
Try to press f and F in first table - column boolean. In original version example was working only with f but I added .toLowerCase()
in line no. 17.
But when you press g or G in second table - column speciality, filtering not working by my first update. I must to change line no. 18, but i dont have any idea...
You should create a case insensitive variant of the
:contains
JQuery selector, by adding the code below to your script. I named itcasecontains
.After that, you can replace your line
17
with the following:Note that I just replaced
:contains
with:casecontains
. Also, the conversion to lowercase is no longer needed.Your updated fiddle.
You need to make the text of the
<td>
s lowercase before filtering. Currently you're only making the value of the filter input lowercase.Here's an updated fiddle