嘗試使用jQuery顯示div元素時,出現以下錯誤:[23:50:35.971] TypeError: p.easing[this.easing] is not a function @ file:///D:/html5%20puzzle/jquery.js:2相關功能是這樣的:function showWithAnimation(){ console.log('animation called'); $('#popup').show(); $("#popup").css({"top": "30%", "left": "30%"}) .animate({top:(($(window).height()/2)-($('#popup') .outerHeight()/2))-70}, 1000, 'easeOutBounce') .show();}該函數負責顯示具有跳動動畫的div,但是,顯示了div但沒有跳動效果。編輯:我包括來自CDN的jQuery和jQueryUI庫,如下所示(按順序):<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script><script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js'></script>
TypeError:p.easing [this.easing]不是函數
慕碼人8056858
2019-11-15 21:05:33