html - Bootstrap select not working -


i have this:

<select class="selectpicker" name="level"> <option value="field">field admin</option> <option value="text">text admin</option> <option value="bot">bot</option> </select> 

with @ bottom:

<script src='./clientlib/bootstrap-select.js'></script> 

adding (at bottom of page after loading above script) doesn't work:

 $('.selectpicker').selectpicker(); 

right now, button gets formatted clicking select not load drop down. pressing alt loads drop down there no way close dropdown, if select option.

anyone have ideas on why happening?

try load script in head section of page , '$('.selectpicker').selectpicker();' @ bottom of page


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -