即使单击输入字段,也会保持Bootstrap下拉按钮聚焦

时间:2015-09-19 08:54:32

标签: javascript jquery html css twitter-bootstrap

在下拉列表中的输入字段上单击(:焦点)时,我在保持引导下拉按钮聚焦时遇到问题。



<div id="select_btn">
                        <div class="btn-group">
             
                            <button class="btn btn-custom-select btn-group show-properties dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                                <span class="select-p-text">Select a Property
                            </button>
                            <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                                <div id="propertyHolder">
                           
                                        <div class="right-inner-addon">
                                           
                                                <i class="fa fa-search"></i>
                                            <input placeholder="Search for a property..." id="box" type="search" />
                                             
                                  
                                        </div>
                                     <li role="separator" class="divider"></li></div>
                                    <li><ul class="selectList">
                    
                                    </ul>
                                     </li>
                                </div>
                            </ul>
                        </div>
&#13;
&#13;
&#13;

0 个答案:

没有答案