jQuery.Deferred exception: $.get is not a function TypeError: $.get is not a function

/**********************************************************************
 * jQuery.Deferred exception: $.get is not a function TypeError: $.get is not a function
 * 说明:
 *     使用bootstrap的时候,遇到这个错误,是jquery库的问题。
 *
 *                                2018-3-28 深圳 宝安西乡 曾剑锋
 *********************************************************************/

一、参考文档:
    1. JQuery: $.get is not a function
        https://stackoverflow.com/questions/1956719/jquery-get-is-not-a-function

二、解决方法:
    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
    改为:
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>

 

posted on 2018-03-28 18:56  zengjf  阅读(1152)  评论(0编辑  收藏  举报

导航