user1050619
user1050619

Reputation: 20916

bootstrap multiselect box not displayed correctly

Im trynig to create a simple multiselect box but for some reason its not visible properly.

Here is my code:-

HTML

<input type="text" id="addRow" />
<input type="button" id="btn" value="Add" />
<form id="form1">
    <div style="padding:20px">
        <select id="chkveg" multiple="multiple"></select>
        <br />
        <br />
    </div>
</form>

https://jsfiddle.net/04Lgnkqs/

Upvotes: 0

Views: 265

Answers (1)

wanderer
wanderer

Reputation: 11

After creating the select you should call the plugin on your select. something like this $('#chkveg').multiselect(); Refer here

Upvotes: 0

Related Questions