Search Box Inside Dropdown

create a select dropdown with search functionality using Bootstrap and the Select2 plugin is easy. Here are the simple code.


<link href="//" rel="stylesheet" id="bootstrap-css">
<script src="//"></script>
<script src="//"></script>
<!------ Include the above in your HEAD tag ---------->

<link href="" rel="stylesheet" />
<script src=""></script>

<div class="container">
	<div class="row">
	    <form class="col-md-4">
	        <select class="form-control select2">


.select2-container .select2-selection--single{
    height:34px !important;
.select2-container--default .select2-selection--single{
         border: 1px solid #ccc !important; 
     border-radius: 0px !important;