I have a select with many rows (100/200++) and it's very hard to select something because are to many and it's take to long to find what you want.
So i want to make a new input and when value it's change in dropdown select need to remains only rows which contains that value from input.
Does anybody know how i can make or have something like that?
Thanks!
Asked
Active
Viewed 156 times
1

VladutZzZ
- 680
- 1
- 8
- 27
-
1Google for `chosen`(https://harvesthq.github.io/chosen/) or `select2` (https://select2.github.io/)... – Sougata Bose Jul 22 '15 at 12:19
-
here is [link](https://harvesthq.github.io/chosen/) – Hitendra Jul 22 '15 at 12:20
-
I will recommend you to go for select2 because there are few drawbacks using chosen. Here is the link : https://select2.github.io/ – Rohit Arora Jul 22 '15 at 12:22
-
Chosen is disabled on iPhone, iPod Touch, and Android mobile devices. Check it : http://stackoverflow.com/questions/22016578/chosen-plugin-doesnt-seem-to-work-on-mobile-browsers – Rohit Arora Jul 22 '15 at 12:23
1 Answers
2
Try chosen
https://harvesthq.github.io/chosen/
You can search select just like a search form.
Its too simple to implement.
$(function(){
$(element).chosen();
});
Note: Chosen is not supported on android or IOS, "Chosen is disabled on iPhone, iPod Touch, and Android mobile devices "

Pupil
- 23,834
- 6
- 44
- 66
-
1Chosen is disabled on iPhone, iPod Touch, and Android mobile devices. Check it : http://stackoverflow.com/questions/22016578/chosen-plugin-doesnt-seem-to-work-on-mobile-browsers – Rohit Arora Jul 22 '15 at 12:23
-
It's okay for my request, i only need for desktop browsers, so it's perfect! Thanks. – VladutZzZ Jul 22 '15 at 12:27
-
-
@VladutZzZ, thanks, if my answer works for you, please accept it as solution so that other uses can gain. – Pupil Jul 22 '15 at 12:28