How to filter items by using select option combo?

How to filter items by using select option combo?

m75sam75sa Posts: 104Questions: 22Answers: 0
edited February 2022 in DataTables

I want to implement a select combo box option that allow me to filter items by choosed combo box selected.
I used this script but it doesn't filter...
have a look here
https://jsfiddle.net/mLquztx4/2/

Any idea how to solve?
The problem is that when i choose item it doesn't show me only the item selected but also all the others in a strange order..

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 14,610Questions: 1Answers: 2,493

    This example should help, it's showing filtering with a select element,

    Colin

  • m75sam75sa Posts: 104Questions: 22Answers: 0

    thanks, this example could be ok but the problem is if i have an image (icon) instead of text select option menu in the combo box... then is shows me a strange texts and doesn't filter...

  • colincolin Posts: 14,610Questions: 1Answers: 2,493
    Answer ✓

    Isn't this the same as this thread? Please don't duplicate posts,

    Colin

  • m75sam75sa Posts: 104Questions: 22Answers: 0

    yes sorry, quite the same... ok sorry for duplicate.

Sign In or Register to comment.