searchable dropdown laravel blade

Solutions on MaxInterview for searchable dropdown laravel blade by the best coders in the world

showing results for - "searchable dropdown laravel blade"
Silvana
22 May 2016
1<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/...; rel="stylesheet" />
2<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/s...;></script>
3
4<select class="js-example-basic-single" name="state">
5  <option value="AL">Alabama</option>
6    ...
7  <option value="WY">Wyoming</option>
8</select>
9  
10// In your Javascript (external .js resource or <script> tag)
11$(document).ready(function() {
12    $('.js-example-basic-single').select2();
13});