引导JavaScript模式不';行不通

引导JavaScript模式不';行不通,javascript,html,modal-dialog,bootstrap-modal,Javascript,Html,Modal Dialog,Bootstrap Modal,我有一个按钮,它将显示一个详细信息模式窗口,但当我点击它时,什么也没有发生。有谁能试着解决这个问题吗?谢谢 我在header部分有一些脚本标记,其余的代码在detailsmodal.php上 <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script>

我有一个按钮,它将显示一个详细信息模式窗口,但当我点击它时,什么也没有发生。有谁能试着解决这个问题吗?谢谢

我在header部分有一些脚本标记,其余的代码在detailsmodal.php上

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>

<div class="modal fade details-1" id="details-1" tabindex="-1" role="dialog" aria-labelledby="details-1" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" type="button" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title text-center">Electron Creator Prusa i3</h4>
            </div>
            <div class="modal-body">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="center-block">
                                <img src="images/products/electron-creator-prusa-i3.jpg" alt="Electron Creator Prusa i3" class="details img-responsive">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <h4>Részletek:</h4>
                            <p>The Electron 3D Printer Prusa i3 (iteration 3) is the newest and most current 3D Printer design by RepRap Core Developer Prusajr. The i3 incorporates lessons learned from the previous two Prusa designs, as well as other popular modern RepRap designs. The release of the Prusa i3 under the GPL license and numerous other factors (its low cost, minimal BOM, simple assembly and calibration procedures, more than adequate documentation, etc) have encouraged the further development of a growing number of Prusa i3 “variants” worldwide, with different parts, different materials and different assembly processes, but which altogether adhere to the general looks, component assembly, dimensions and functionality of the original Prusa i3.</p>
                             <hr>
                             <p>Ár: 180.000 Ft</p>
                             <p>Márka: Electron</p>
                             <form action="add_cart.php" method="post">
                                 <div class="form-group">
                                     <div class="col-xs-3">
                                         <label for ="quantity"> Mennyiség: </label>
                                         <input type="text" class="form-control" id="quantity" name="quantity">
                                     </div>
                                    <p>Raktáron: 3</p>
                                </div><br><br>
                                <div class="from-group">
                                    <label for="size"> Méret: </label>
                                    <select name="size" id="size" class="form-control">
                                        <option value=""></option>
                                        <option value="32"> 32 </option>
                                        <option value="34"> 34 </option>
                                        <option value="36"> 36 </option>
                                    </select>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button class="btn btn-default" data-dismiss="modal"> Bezárás </button>
                <button class="btn btn-warning" type="submit"><span class="glyphicon glyphicon-shopping-cart"> Kosárhoz adás </button>
            </div>
       </div>
   </div>
</div>

&时代;
电子创造者普鲁萨i3
Részletek:
Electron 3D打印机Prusa i3(迭代3)是RepRap核心开发人员Prusajr设计的最新和最新3D打印机。i3融合了从前两款Prusa设计以及其他流行的现代RepRap设计中汲取的经验教训。根据GPL许可证发布的Prusa i3和许多其他因素(其低成本、最小BOM、简单的组装和校准程序、充足的文档等)鼓励了全球范围内越来越多的Prusa i3“变体”的进一步开发,包括不同的零件,不同的材料和不同的组装工艺,但完全符合原Prusa i3的一般外观、组件组装、尺寸和功能


Ár:180.000英尺

马尔卡:电子

梅尼耶格: 拉克塔隆:3



梅雷特: 32 34 36 贝扎拉斯 科萨罗兹·阿达斯


您是否在代码中链接到bootstrap.css?是的,我在标题部分链接了bootstrap.min.js我说的是bootstrap.min.css!!!不是bootstarp.min.jsha抱歉我回答时太累了。。所以,是的,我的标题部分也有bootstrap.min.css。好的,谢谢,我已经检查了一千次代码,我没有注意到数据目标中缺少#。
<a href="#" data-toggle="modal" data-target="#details-1">Link to modal</a>