JS & Jquery
[Jquery] 셀렉트 박스 라이브러리(select2)
늑인
2024. 5. 7. 14:17
셀렉트 박스를 사용하다보면 select 개수가 너무 많아지거나 할경우 검색 기능이 필요 해질수 있다 .
해당 라이브러리 사용하면 바로 적용해볼수 있다.


여러개 선택도 지원이 된다.

공식 사이트 주소
https://select2.github.io/select2/
Select2 3.5.3
matcherfunction Used to determine whether or not the search term matches an option when a built-in query function is used. The built in query function is used when Select2 is attached to a select, or the local or tags helpers are used. matcher(term, text,
select2.github.io
샘플
Select2 demo - JSFiddle - Code Playground
jsfiddle.net