Click here to Skip to main content
14,934,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys I use bootstrap multiple dropdown my projects
so I have datasource. and some opinon should selected when page came how can I do?


this is my output of html
HTML
<div class="multiselectdrop">


                    <select name="ctl00$cPlaceHolder$ddlGearType" id="cPlaceHolder_ddlGearType" class="selectpicker" title="xxx" multiple="" style="display: none;">
	<option value="Düz Vites">xxx</option>
	<option value="Otomatik">zzzzz</option>

</select><div class="btn-group bootstrap-select show-tick open"><button type="button" class="btn dropdown-toggle selectpicker btn-default" data-toggle="dropdown" data-id="cPlaceHolder_ddlGearType" title="xxx"><span class="filter-option pull-left">xxx</span> <span class="caret"></span></button><div class="dropdown-menu open" style="max-height: 186px; overflow: hidden; min-height: 0px;"><ul class="dropdown-menu inner selectpicker" role="menu" style="max-height: 174px; overflow-y: auto; min-height: 0px;"><li rel="0" class=""><a tabindex="0" class="" style=""><span class="text">xxxx</span></a></li><li rel="1" class=""><a tabindex="0" class="" style=""><span class="text">xxxx</span>^__i class="glyphicon glyphicon-ok icon-ok check-mark"></a></li></ul></div></div>

                </div>
Posted

1 solution

Hello,

Please see the working demo:

Bootstrap - Multiselect[^]
   
Comments
ammoti 22-May-14 9:36am
   
Thanks you but How I modify this js for apply my projects or dropdown

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900