问答详情
源自:2-3 bootstrap环境搭建

为什么引入了jq3.1.1还是报错

<link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.min.css"/>

<script src="bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>

<script src="https://code.jquery.com/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>


提问者:幕布斯6380293 2018-07-12 11:38

个回答

  • weibo_高明杨_GMY_0
    2018-07-13 14:24:10

    <script src="https://code.jquery.com/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>

    <script src="bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>


    先引用jq,后引用bootstrap