Click here to Skip to main content
14,236,939 members
Rate this:
Please Sign up or sign in to vote.
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
<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></a></li></ul></div></div>


1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1


Please see the working demo:

Bootstrap - Multiselect[^]
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100