53
rated 0 times
[
54]
[
1]
/ answers: 1 / hits: 25473
/ 7 Years ago, fri, september 22, 2017, 12:00:00
my select2 is working perfectly, I just have 1 small bug, the arrow down icon from the select box is not showing, do you know guys why?
this make the user a bit confuse I tried find the bug, but I could not fix the error, can you please guys help me? the code is not working here but it is working in the jsfiddle link.
jsfiddle: http://jsfiddle.net/yszv1ob2/
$(#e1).select2();
<link rel=stylesheet href=https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css>
<script src=https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js></script>
<script src=https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js></script>
<script src=http://cdnjs.cloudflare.com/ajax/libs/select2/3.2/select2.min.js></script>
<link rel=stylesheet href=http://cdnjs.cloudflare.com/ajax/libs/select2/3.2/select2.css>
<select multiple id=e1 style=width:300px>
<option value=AL>Alabama</option>
<option value=Am>Amalapuram</option>
<option value=An>Anakapalli</option>
<option value=Ak>Akkayapalem</option>
<option value=WY>Wyoming</option>
</select>
More From » jquery