A
A
Artyom2016-08-25 19:50:01
Bootstrap
Artyom, 2016-08-25 19:50:01

How to connect the chosen plugin to bootstrap?

It is necessary to make a select field with the choosen plugin. Tell me how to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GeekFromUa, 2016-08-26
@petriychuk

Copy the files,
then connect, example ( from here ):

<script type="text/javascript" src="chosen/chosen.jquery.min.js"></script>
<script type="text/javascript">
$(function(){
    $(".chzn-select").chosen();
});
</script>

<select class="chzn-select" multiple="true" name="faculty">
        <option value="AC">A</option>
        <option value="AD">B</option>
        <option value="AM">C</option>
        <option value="AP">D</option>
</select>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question