🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Select Search is a lightweight yet useful jQuery plugin that enables an input field to live search your select element and automatically selects the matched option while typing.

Filter Select live-search

Documentation

select search

search in select by jQuery

Getting Started

Prerequisites

jQuery library

Installing

<script src='select_search.js'></script> 

Running the tests

<input type="text" id="input">     <select id="select">         <option value="">option1</option>         <option value="">option2</option>         <option value="">option3</option>         <option value="">option4</option>     </select>
$('#input').keyup(function () {     select_search($('#input').val(),$('#select option')); });
$('#input2').keyup(function () {     select_search($('#input2').val(),$('#select2 option'),'my custom option message if no result'); });

Authors

Find me in facebock who participated in this project.


You May Also Like