Select inputs for only one specific column
Select inputs for only one specific column

Hello fellow programmers,
I have a table with several columns and I want to achieve a filtering with a drop down list for a specific column(where the drop down list is dynamically built with all unique values in current table. How do I achieve this in the best possible way?
This discussion has been closed.
Answers
Okay, so far I've gotten here. The problem is that if I choose a option with "Hello" everything that has "Hello" in the value filters in the table. I want specific values to show up, not everything that cointains the value.
Solved it.
Solution for exact match:
```
var val = $(this).val();
Another problem:
I hardcode a empty select option the HTML-code. Otherwise it will choose the first in select input and only show those values. But when I choose a option and choose the empty option there is no data in the table because it searches for a empty string... How do I fix this?
Fixed: