[問題] 請問這段程式碼有錯誤的地方嗎

作者: kyowinner (mars)   2019-12-17 11:35:44
問題敘述:疑似jquery無作動,但是不知道問題在哪邊
學習jquery+bootstrap 使用書上範例,唯一有改的地方只有下列程式碼
路徑確定沒錯,botstrap的排版也有出來,就只有jquery部分沒反應
<head>
<meta charset="utf-8" />
<title>tew</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"
></script>
</head>
PS: jquery引入部分 有試過本機跟CDN 方式 都不行
作者: tino1991 (深白)   2019-12-17 11:40:00
jquery 放 boostrap.js前面用瀏覽器開檔案 按F12開console F5看錯誤訊息
作者: kyowinner (mars)   2019-12-17 11:41:00
可以了,謝謝 ,又學到一招
作者: tino1991 (深白)   2019-12-17 11:42:00
在console 輸入 $ 送出 試看看

Links booklink

Contact Us: admin [ a t ] ucptt.com