选择不工作谷歌Ajax



我已经为我的网站使用了Chosen Select,我正在使用bootstrap框架。如果包括

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

Ajax Google API,它不建议

这是我的代码

</head>
<body>
    <div id="container">
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-md-4">
                <select data-placeholder="Choose a Country..." class="chzn-select form-control" tabindex="1">
                    <option value=""></option>
                    <option value="United States">United States</option>
                    <option value="United Kingdom">United Kingdom</option>
                    <option value="Afghanistan">Afghanistan</option>
                    <option value="Albania">Albania</option>
                    <option value="Algeria">Algeria</option>
                    <option value="American Samoa">American Samoa</option>
                </select>
            </div>
        </div>
    </form>
    </div>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script src="chosen/ajax.googleapis-1.3-compressed.js"></script>  
    <script src="chosen/mootools-more-1.4.0.1.js"></script>
    <script src="chosen/chosen.js"></script>
    <script src="chosen/Locale.en-US.Chosen.js"></script>
    <script> $$(".chzn-select").chosen(); $$(".chzn-select-deselect").chosen({allow_single_deselect:true}); </script>
</body>

谁能告诉我如何解决这个问题

而是尝试使用

<script> $(".chzn-select").chosen(); $(".chzn-select-deselect").chosen({allow_single_deselect:true}); </script>

相关内容

  • 没有找到相关文章

最新更新